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

Revision history [back]

click to hide/show revision 1
initial version

Thanks for your help mgruhler! So, I made it work and I am gonna try to explain how I did, as clear as I can.

I my case the odometry data are coming from a rosbag, which I didn't made and I don't have access to the msg. I should have started with this information!

Inside the rosbag I have the odometry but also a lot of other msg types. So first of all, I had to split the rosbag thanks to a small script to have a rosbag with only the topic I wanted : /vehicle/odometry. I was then able print the msg thanks to a script, still.
http://wiki.ros.org/rosbag/Cookbook

I wanted to create my own message type to receive the informations of /vehicle/odometry. And that is when I put my question.

Regarding the solution, in the end the two msg types where not exactly the same in the msg file and I had to create the motion_common_msg/Odometry package instead of interval_map/odometry just to have the same path.