message class by its name
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
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
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
from rostopic code api: rostopic.get_topic_class('/topic')
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-05-31 00:21:20 -0500
Seen: 125 times
Last updated: Oct 01 '13
Is there a way to subscribe to a topic without setting the type?
How to create subscriber in a publisher
problem publishing with rosbridge suite
joint_states_aggregator and joint_state_publisher
Best way of choosing the topic which to publish data
Problem using subscribed motor position topic
Publishing and subscribing to a topic in different threads
How many message types can be published to a topic?