ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Have you verified that topics are hooked up correctly rostopic info or rqt graph? And have you verified that they're being published correctly with rostopic echo?
You also appear not to be spinning anywhere. There's a tutorial for writing a publisher here: http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29
And debugging tools can be found here: http://wiki.ros.org/ROS/Tutorials/UnderstandingTopics