0
$\begingroup$

Rosanswers logo

Hi,

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.


Originally posted by Nico on ROS Answers with karma: 1 on 2011-04-28

Post score: -1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by Dan Lazewatsky with karma: 9115 on 2011-04-28

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.