Skip to content

Commit 2cc63f7

Browse files
authored
fixed compilation issue (#560)
Co-authored-by: Andreas Klintberg <[email protected]>
1 parent 42f597a commit 2cc63f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ros_filter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ void RosFilter<T>::loadParams()
14161416
RCLCPP_WARN(this->get_logger(),
14171417
"Warning: Some position entries in parameter %s_config are listed "
14181418
"true, but sensor_msgs/Imu contains no information about position",
1419-
imu_topic_name);
1419+
imu_topic_name.c_str());
14201420
}
14211421
std::vector<int> linear_velocity_update_vec(
14221422
update_vec.begin() + POSITION_V_OFFSET,
@@ -1428,7 +1428,7 @@ void RosFilter<T>::loadParams()
14281428
RCLCPP_WARN(this->get_logger(),
14291429
"Warning: Some linear velocity entries in parameter %s_config are "
14301430
"listed true, but an sensor_msgs/Imu contains no information about "
1431-
"linear velocities", imu_topic_name);
1431+
"linear velocities", imu_topic_name.c_str());
14321432
}
14331433

14341434
std::vector<bool> pose_update_vec = update_vec;

0 commit comments

Comments
 (0)