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

How to deal with deleted message types in bag migration?

asked 2016-06-29 18:06:51 -0500

juesato gravatar image

I have a bag with a topic that is no longer used, which uses a type which is no longer used. rosbag check will interpret this as a moved message type, and prompt me to enter the new location of the message type.

If instead of moving this message type, I just want to ignore this message type, is there a way to do this? I realize I could use rosbag filter if necessary to remove this topic beforehand, but if there's another solution that doesn't involve creating an extra bag in the middle, I'd prefer that solution.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-07-05 19:37:42 -0500

bwr gravatar image

One semantically-correct way to do this would be to migrate the message into a std_msgs/Empty, but this (annoyingly) results in a syntax error in some generated python code. I've found that migrating the message to a std_msgs/Bool seems to work okay.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-06-29 18:06:51 -0500

Seen: 289 times

Last updated: Jun 29 '16