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: 92 times
Last updated: Oct 01 '13
What is the second case of ros::ok() return false?
Can I subcribe to multiple messages from a topic?
ROS2: topic subscribed but not received
the controller can not subscribe to the topic from gazebo
How to check size of a topic on multi device ROS Communication
Rosbridge subscribe: Unable to load the manifest for package
Multiple subscriber to one topic
When to change the buffer size parameter of advertise function