ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to deal with deleted message types in bag migration?

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

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

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



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

Seen: 255 times

Last updated: Jun 29 '16