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

Subscribing to the odometry topic

asked 2011-04-28 02:20:03 -0500

Nico gravatar image


I am very new to ROS and I'm using stageros as a simulator for my robot. I'm trying to write a c++ application that subscribes to the odometry topic (of type nav_msgs) and just write the contents to terminal. I have tried everything but I can't get it to work.

Any help would be appreciated.

Best regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-04-28 04:09:33 -0500

I would recommend reading the Writing a Simple Publisher and Subscriber (C++) tutorial. If that still doesn't help, asking more specific questions about the problems you're having will make it easier for people to offer advice.

edit flag offensive delete link more

Question Tools


Asked: 2011-04-28 02:20:03 -0500

Seen: 1,941 times

Last updated: Apr 28 '11