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

message class by its name

asked 2013-05-31 00:21:20 -0600

liborw gravatar image

Hi,

I have message type name from rostopic.get_topic_type('/topic') and I want to subscribe to this topic can I somehow get the class of the message type?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-01 03:14:56 -0600

felix k gravatar image

from rostopic code api: rostopic.get_topic_class('/topic')

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-31 00:21:20 -0600

Seen: 400 times

Last updated: Oct 01 '13