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

Revision history [back]

click to hide/show revision 1
initial version

piyushk is correct, but according to the wiki, "rostopic is a stable command-line tool within the ROS core toolchain. The underlying code may undergo refactoring for easier library use, but the external API is expected to be fairly stable."

Using functions like:

get_topic_type

data_type = rostopic.get_topic_type('my_topic', blocking=False)[0]
if data_type:
      data_class = roslib.message.get_message_class(data_type)
      #... do fun things here

Now, according to REP100 roslib.message is supposed to be moved to rosgraph but I can't find it there, even in fuerte.

I hope that this was really a reference to something else.. because there is sooo much code that is still using roslib.message...