ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Change frame_id in messages

asked 2016-08-19 03:43:21 -0500

vladimir gravatar image

I use kitti_player and robot_localization. kitti_player publich messages with framed_id "/kitti_player" but in robot_localization I get an error "frame_ids cannot start with a '/' ". How solve this problem?

edit retag flag offensive close merge delete

Comments

Hello, I also have the same issue but I am unable to change the source code since the topic is coming from an android app (https://aapks.com/apk/ros-android-sen...). Source code should be fro here: https://github.com/rpng/android_senso... and might even be fixed (imu frame_id is published as "/imu") but I don't have the toolchain to recompile. Thanks

tomy983 gravatar image tomy983  ( 2022-06-17 02:42:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-08-19 10:39:29 -0500

Shay gravatar image

What if you remove the '/' in your source code? Sometimes ROS will add a '/' for you, so if you give '/kitti_player', things will go wrong. So just give 'kitti_player' in your code.

edit flag offensive delete link more

Comments

Thanks! I have solved this problem this way

vladimir gravatar image vladimir  ( 2016-08-22 02:02:51 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-08-19 03:43:21 -0500

Seen: 498 times

Last updated: Jun 17 '22