WUT Velma robot API
|
Class used for subscription for various ROS topics from the VelmaInterface class. More...
Public Member Functions | |
def | dbgPrint (self, s) |
def | __init__ (self, topic_name, topic_type, debug=False) |
def | getData (self, timeout_s=None) |
Get the newest topic data. More... | |
Public Attributes | |
sub | |
Class used for subscription for various ROS topics from the VelmaInterface class.
Definition at line 861 of file velma_interface.py.
def velma_common.velma_interface.VelmaInterface.SubscribedTopic.__init__ | ( | self, | |
topic_name, | |||
topic_type, | |||
debug = False |
|||
) |
Definition at line 872 of file velma_interface.py.
def velma_common.velma_interface.VelmaInterface.SubscribedTopic.dbgPrint | ( | self, | |
s | |||
) |
Definition at line 867 of file velma_interface.py.
def velma_common.velma_interface.VelmaInterface.SubscribedTopic.getData | ( | self, | |
timeout_s = None |
|||
) |
Get the newest topic data.
timeout_s | float: timeout in seconds or None for no timeout. Default is None (no timeout, return immediately). |
Definition at line 884 of file velma_interface.py.
velma_common.velma_interface.VelmaInterface.SubscribedTopic.sub |
Definition at line 877 of file velma_interface.py.