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
add a comment
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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')
Asked: 2013-05-31 00:21:20 -0500
Seen: 216 times
Last updated: Oct 01 '13
joint_states_aggregator and joint_state_publisher
Change Topic Name of Created Plugin
How to control rosbag record from a topic?
Read /rosout/msg with seperate Python script
Why the output of some topic delays with IDEs?
How many message types can be published to a topic?
Connect bool topics - node required?