Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
val | |
Static Public Attributes | |
int | AUTO = 2 |
int | MANUAL = 1 |
int | UNKNOWN = 1 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['val'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "24ac279e988b6b3db836e437e6ed1ba0" |
list | _slot_types = ['int8'] |
string | _type = "industrial_msgs/RobotMode" |
Definition at line 8 of file _RobotMode.py.
def industrial_msgs.msg._RobotMode.RobotMode.__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: val :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 32 of file _RobotMode.py.
def industrial_msgs.msg._RobotMode.RobotMode._get_types | ( | self | ) | [private] |
internal API method
Definition at line 54 of file _RobotMode.py.
def industrial_msgs.msg._RobotMode.RobotMode.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 70 of file _RobotMode.py.
def industrial_msgs.msg._RobotMode.RobotMode.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 96 of file _RobotMode.py.
def industrial_msgs.msg._RobotMode.RobotMode.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 60 of file _RobotMode.py.
def industrial_msgs.msg._RobotMode.RobotMode.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 85 of file _RobotMode.py.
list industrial_msgs::msg::_RobotMode.RobotMode::__slots__ = ['val'] [static, private] |
Definition at line 29 of file _RobotMode.py.
string industrial_msgs::msg::_RobotMode.RobotMode::_full_text [static, private] |
"""# The Robot mode message encapsulates the mode/teach state of the robot # Typically this is controlled by the pendant key switch, but not always int8 val # enumerated values int8 UNKNOWN=-1 # Unknown or unavailable int8 MANUAL=1 # Teach OR manual mode int8 AUTO=2 # Automatic mode """
Definition at line 12 of file _RobotMode.py.
industrial_msgs::msg::_RobotMode.RobotMode::_has_header = False [static, private] |
Definition at line 11 of file _RobotMode.py.
string industrial_msgs::msg::_RobotMode.RobotMode::_md5sum = "24ac279e988b6b3db836e437e6ed1ba0" [static, private] |
Definition at line 9 of file _RobotMode.py.
list industrial_msgs::msg::_RobotMode.RobotMode::_slot_types = ['int8'] [static, private] |
Definition at line 30 of file _RobotMode.py.
string industrial_msgs::msg::_RobotMode.RobotMode::_type = "industrial_msgs/RobotMode" [static, private] |
Definition at line 10 of file _RobotMode.py.
int industrial_msgs::msg::_RobotMode.RobotMode::AUTO = 2 [static] |
Definition at line 27 of file _RobotMode.py.
int industrial_msgs::msg::_RobotMode.RobotMode::MANUAL = 1 [static] |
Definition at line 26 of file _RobotMode.py.
int industrial_msgs::msg::_RobotMode.RobotMode::UNKNOWN = 1 [static] |
Definition at line 25 of file _RobotMode.py.
Definition at line 44 of file _RobotMode.py.