Ask Your Question
1

how to migrate bag file containing roslib/Log and visualization_msgs/MarkerArray

asked Feb 22

daniel_maier gravatar image daniel_maier
120 10

Hi!

I want to migrate a bag file containing recorded with Diamondback to Electric. The bag contains roslib/Log messages which seem to be missing in Electric, plus visualization_msgs/MarkerArray for which there are no migration rules.

So I run rosbag fix xxx.bag xxx-fixed.bag and after a while I am confronted with the message:

* From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
   To:   Unknown
    1 rules missing:
     * From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
       To:   Unknown
 * From: visualization_msgs/MarkerArray [f10fe193d6fac1bf68fad5d31da421a7]
   To:   visualization_msgs/MarkerArray [90da67007c26525f655c1c269094e39f]
    1 rules missing:
     * From: visualization_msgs/Marker [bc7602ad2ba78f4cbe1c23250683bdc0]
       To:   visualization_msgs/Marker [18326976df9d29249efc939e00342cde]
Try running 'rosbag check' to create the necessary rule files or run 'rosbag fix' with the '--force' option.

So I do as it wishes and run rosbag check 2011-06-24-19-30-36.bag -g myRule.bmr which results in:

WARNING: Within rule [GENERATED.update_visualization_msgs_MarkerArray_f10fe193d6fac1bf68fad5d31da421a7] cannot migrate from subtype [Marker] to [Marker]..
The following migrations need to occur:
 * From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
   To:   Unknown
    1 rules missing:
     * From: roslib/Log [acffd30cd6b6de30f120938c17c593fb]
       To:   Unknown
 * From: visualization_msgs/MarkerArray [f10fe193d6fac1bf68fad5d31da421a7]
   To:   visualization_msgs/MarkerArray [90da67007c26525f655c1c269094e39f]
    1 rules missing:
     * From: visualization_msgs/Marker [bc7602ad2ba78f4cbe1c23250683bdc0]
       To:   visualization_msgs/Marker [18326976df9d29249efc939e00342cde]
The message type roslib/Log appears to have moved.  Please enter the type to migrate it to.
>

What am I supposed to do now? And does anyone have a migration rule for the MarkerArrays or know how to auto-generate them?

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered Feb 22

kwc gravatar image kwc
7078 23 67 117
http://kwc.org/

roslib/Log migrations to rosgraph_msgs/Log

I don't know how to migrate the Marker. It may be the case that auto-rule generator just works on it. (Make sure to backup your data before you give it a go)

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Feb 22

Seen: 44 times

Last updated: Feb 22