Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
bumper_pressed | |
header | |
motor_stop | |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','bumper_pressed','motor_stop'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "19ad54f53a9df465ca57478097e5f993" |
list | _slot_types = ['std_msgs/Header','bool','bool'] |
string | _type = "metralabs_msgs/ScitosG5Bumper" |
Definition at line 9 of file _ScitosG5Bumper.py.
def metralabs_msgs.msg._ScitosG5Bumper.ScitosG5Bumper.__init__ | ( | self, | |
args, | |||
kwds | |||
) |
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix in-order arguments and keyword arguments. The available fields are: header,bumper_pressed,motor_stop :param args: complete set of field values, in .msg order :param kwds: use keyword arguments corresponding to message field names to set specific fields.
Definition at line 46 of file _ScitosG5Bumper.py.
def metralabs_msgs.msg._ScitosG5Bumper.ScitosG5Bumper._get_types | ( | self | ) | [private] |
internal API method
Definition at line 74 of file _ScitosG5Bumper.py.
def metralabs_msgs.msg._ScitosG5Bumper.ScitosG5Bumper.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 99 of file _ScitosG5Bumper.py.
def metralabs_msgs.msg._ScitosG5Bumper.ScitosG5Bumper.deserialize_numpy | ( | self, | |
str, | |||
numpy | |||
) |
unpack serialized message in str into this message instance using numpy for array types :param str: byte array of serialized message, ``str`` :param numpy: numpy python module
Definition at line 152 of file _ScitosG5Bumper.py.
def metralabs_msgs.msg._ScitosG5Bumper.ScitosG5Bumper.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 80 of file _ScitosG5Bumper.py.
def metralabs_msgs.msg._ScitosG5Bumper.ScitosG5Bumper.serialize_numpy | ( | self, | |
buff, | |||
numpy | |||
) |
serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module
Definition at line 132 of file _ScitosG5Bumper.py.
list metralabs_msgs::msg::_ScitosG5Bumper.ScitosG5Bumper::__slots__ = ['header','bumper_pressed','motor_stop'] [static, private] |
Definition at line 43 of file _ScitosG5Bumper.py.
string metralabs_msgs::msg::_ScitosG5Bumper.ScitosG5Bumper::_full_text [static, private] |
"""# Message used to publish the bumper state of Scitos G5 robots. Header header # Whether the bumper is currently pressed. bool bumper_pressed # Whether internal motor_stop is active and disables the robots drive motors. # The motor_stop is activated on a bumper hit and can be set manually. # The motor_stop can be deactivated via topic or set via service. bool motor_stop ================================================================================ MSG: std_msgs/Header # Standard metadata for higher-level stamped data types. # This is generally used to communicate timestamped data # in a particular coordinate frame. # # sequence ID: consecutively increasing ID uint32 seq #Two-integer timestamp that is expressed as: # * stamp.secs: seconds (stamp_secs) since epoch # * stamp.nsecs: nanoseconds since stamp_secs # time-handling sugar is provided by the client library time stamp #Frame this data is associated with # 0: no frame # 1: global frame string frame_id """
Definition at line 13 of file _ScitosG5Bumper.py.
metralabs_msgs::msg::_ScitosG5Bumper.ScitosG5Bumper::_has_header = True [static, private] |
Definition at line 12 of file _ScitosG5Bumper.py.
string metralabs_msgs::msg::_ScitosG5Bumper.ScitosG5Bumper::_md5sum = "19ad54f53a9df465ca57478097e5f993" [static, private] |
Definition at line 10 of file _ScitosG5Bumper.py.
list metralabs_msgs::msg::_ScitosG5Bumper.ScitosG5Bumper::_slot_types = ['std_msgs/Header','bool','bool'] [static, private] |
Definition at line 44 of file _ScitosG5Bumper.py.
string metralabs_msgs::msg::_ScitosG5Bumper.ScitosG5Bumper::_type = "metralabs_msgs/ScitosG5Bumper" [static, private] |
Definition at line 11 of file _ScitosG5Bumper.py.
Definition at line 58 of file _ScitosG5Bumper.py.
Definition at line 58 of file _ScitosG5Bumper.py.
Definition at line 58 of file _ScitosG5Bumper.py.