Package rosh :: Package impl :: Module topic
[frames] | no frames]

Module topic

source code

ROS topic API and implementation for ROSH

Classes
  subscribe
Subscribe to topic instance.
  TopicInfo
  TopicNS
TopicNS provides lightweight accessors to a ROS topic and its data.
  Topics
Functions
roslib.message.Message
next_msg(ns_obj, timeout=None)
Get the next message on the topic
source code
 
topic_info(config, name) source code
 
show_graph(ns_obj) source code
 
show_rostopic(ns_obj) source code
Variables
  PLUGIN_SHOW_TOPIC_TYPE = 'show-topic-type'
  LATEST = -1
  __package__ = 'rosh.impl'
Function Details

next_msg(ns_obj, timeout=None)

source code 

Get the next message on the topic

Parameters:
  • ns_obj (TopicNS) - TopicNS instance
  • timeout (float) - timeout in millis
Returns: roslib.message.Message
message