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

Nathan Wong's profile - activity

2016-07-25 14:09:26 -0500 received badge  Taxonomist
2013-06-04 20:51:07 -0500 received badge  Famous Question (source)
2013-04-08 06:48:37 -0500 received badge  Notable Question (source)
2013-04-07 06:55:24 -0500 received badge  Popular Question (source)
2013-04-07 06:30:37 -0500 commented answer Subscribing to multiple data on one topic

Thank you this was very useful! :)

2013-04-07 06:30:22 -0500 received badge  Supporter (source)
2013-04-07 06:30:18 -0500 received badge  Scholar (source)
2013-04-05 12:58:47 -0500 asked a question Subscribing to multiple data on one topic

Hi, I would like to know how I could subscribe to a topic which has multiple data variables in python using rosbuild not catkin, such as the velocity.msg on the turtlesim program which has both, angular and linear data sets on one topic.

I am just simply wanting to subscribe to the topic, and print out on terminal both variables.

so far all the tutorials I have seen such as the writing a simple publisher and subscriber tutorial and the publisher and subscriber one on rospy tutorials have just shown examples for subscribing to topics which only have one data variable, because string one has one...

any help is appreciated