RosClient.get_topic_type

RosClient.get_topic_type(topic, callback=None, errback=None)[source]

Retrieve the type of a topic in ROS.

Note:

To make this a blocking call, pass None to the callback parameter .

Returns:

str: Topic type if blocking, otherwise None.