Explain error getting RMW impl id was because not installed (#201)

* Explain error getting RMW impl id was because not installed

* just spaces around the / to make it easier to "parse"
This commit is contained in:
dhood 2017-12-06 13:17:30 -08:00 committed by GitHub
parent f0975396d9
commit 5faf966459
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ INITIALIZER(initialize) {
if (ret != RCL_RET_OK) {
RCUTILS_LOG_ERROR_NAMED(
ROS_PACKAGE_NAME,
"Error getting environement variable 'RMW_IMPLEMENTATION': %s",
"Error getting environment variable 'RMW_IMPLEMENTATION': %s",
rcl_get_error_string_safe()
)
exit(ret);
@ -83,7 +83,7 @@ INITIALIZER(initialize) {
if (ret != RCL_RET_OK) {
RCUTILS_LOG_ERROR_NAMED(
ROS_PACKAGE_NAME,
"Error getting environement variable 'RCL_ASSERT_RMW_ID_MATCHES': %s",
"Error getting environment variable 'RCL_ASSERT_RMW_ID_MATCHES': %s",
rcl_get_error_string_safe()
)
exit(ret);
@ -128,7 +128,10 @@ INITIALIZER(initialize) {
if (!actual_rmw_impl_id) {
RCUTILS_LOG_ERROR_NAMED(
ROS_PACKAGE_NAME,
"Error getting RMW implementation identifier."
"Error getting RMW implementation identifier / RMW implementation not installed "
"(expected identifier of '%s'), exiting with %d.",
expected_rmw_impl,
RCL_RET_ERROR
)
exit(RCL_RET_ERROR);
}