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

How to rewrite the frameid in a rosbag?

asked 2017-04-17 19:51:06 -0500

Joy16 gravatar image

I recorded a rosbag and tried to visualize it in Rviz. I get the following message MessageFilter [target=left_hand ]: Discarding message from [unknown_publisher] due to empty frame_id. This message will only print once. On doing a rostopic echo, I can see that the frame_id is empty. I ran rosrun tf view_frames to generate the pdf.

How do I rewrite the header frame id?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-04-17 21:38:01 -0500

ahendrix gravatar image

rosbag has a python API that you can use for reading and creating new bag files; have a look at the rosbag cookbook and the rosbag API

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-04-17 19:51:06 -0500

Seen: 2,001 times

Last updated: Apr 17 '17