Ask Your Question
-1

Subscribing to the odometry topic

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

Nico gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 1,281 times

Last updated: Apr 28 '11