Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
state | |
Static Public Attributes | |
int | BOOTLOADER = 2 |
int | DRIVE = 8 |
int | FAULTED = 3 |
int | IGNORE = 0 |
int | INVALID = 1 |
int | NEUTRAL = 7 |
int | OFF = 5 |
int | PARK = 6 |
int | SAFE = 4 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['state'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "ed18104f2125248e91775725024700fe" |
list | _slot_types = ['uint8'] |
string | _type = "nasa_r2_common_msgs/JointControlMode" |
Definition at line 8 of file _JointControlMode.py.
def nasa_r2_common_msgs.msg._JointControlMode.JointControlMode.__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: state :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 38 of file _JointControlMode.py.
def nasa_r2_common_msgs.msg._JointControlMode.JointControlMode._get_types | ( | self | ) | [private] |
internal API method
Definition at line 60 of file _JointControlMode.py.
def nasa_r2_common_msgs.msg._JointControlMode.JointControlMode.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 76 of file _JointControlMode.py.
def nasa_r2_common_msgs.msg._JointControlMode.JointControlMode.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 102 of file _JointControlMode.py.
def nasa_r2_common_msgs.msg._JointControlMode.JointControlMode.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 66 of file _JointControlMode.py.
def nasa_r2_common_msgs.msg._JointControlMode.JointControlMode.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 91 of file _JointControlMode.py.
list nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::__slots__ = ['state'] [static, private] |
Definition at line 35 of file _JointControlMode.py.
string nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::_full_text [static, private] |
"""uint8 state uint8 IGNORE = 0 uint8 INVALID = 1 uint8 BOOTLOADER = 2 uint8 FAULTED = 3 uint8 SAFE = 4 uint8 OFF = 5 uint8 PARK = 6 uint8 NEUTRAL = 7 uint8 DRIVE = 8 """
Definition at line 12 of file _JointControlMode.py.
nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::_has_header = False [static, private] |
Definition at line 11 of file _JointControlMode.py.
string nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::_md5sum = "ed18104f2125248e91775725024700fe" [static, private] |
Definition at line 9 of file _JointControlMode.py.
list nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::_slot_types = ['uint8'] [static, private] |
Definition at line 36 of file _JointControlMode.py.
string nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::_type = "nasa_r2_common_msgs/JointControlMode" [static, private] |
Definition at line 10 of file _JointControlMode.py.
Definition at line 27 of file _JointControlMode.py.
int nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::DRIVE = 8 [static] |
Definition at line 33 of file _JointControlMode.py.
Definition at line 28 of file _JointControlMode.py.
int nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::IGNORE = 0 [static] |
Definition at line 25 of file _JointControlMode.py.
Definition at line 26 of file _JointControlMode.py.
Definition at line 32 of file _JointControlMode.py.
int nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::OFF = 5 [static] |
Definition at line 30 of file _JointControlMode.py.
int nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::PARK = 6 [static] |
Definition at line 31 of file _JointControlMode.py.
int nasa_r2_common_msgs::msg::_JointControlMode.JointControlMode::SAFE = 4 [static] |
Definition at line 29 of file _JointControlMode.py.
Definition at line 50 of file _JointControlMode.py.