Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
control_type | |
Static Public Attributes | |
int | FORCE = 1 |
int | PWM = 0 |
int | QUERY = 1 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['control_type'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "b998c8b3b8aa0f2f53f0eaa45ee462bd" |
list | _slot_types = ['int16'] |
string | _type = "sr_robot_msgs/ControlType" |
Definition at line 8 of file _ControlType.py.
def sr_robot_msgs.msg._ControlType.ControlType.__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: control_type :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 28 of file _ControlType.py.
def sr_robot_msgs.msg._ControlType.ControlType._get_types | ( | self | ) | [private] |
internal API method
Definition at line 50 of file _ControlType.py.
def sr_robot_msgs.msg._ControlType.ControlType.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 66 of file _ControlType.py.
def sr_robot_msgs.msg._ControlType.ControlType.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 92 of file _ControlType.py.
def sr_robot_msgs.msg._ControlType.ControlType.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 56 of file _ControlType.py.
def sr_robot_msgs.msg._ControlType.ControlType.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 81 of file _ControlType.py.
list sr_robot_msgs::msg::_ControlType.ControlType::__slots__ = ['control_type'] [static, private] |
Definition at line 25 of file _ControlType.py.
string sr_robot_msgs::msg::_ControlType.ControlType::_full_text [static, private] |
"""int16 control_type int16 PWM=0 int16 FORCE=1 #used to query which control type we're using. won't change the control type int16 QUERY=-1 """
Definition at line 12 of file _ControlType.py.
sr_robot_msgs::msg::_ControlType.ControlType::_has_header = False [static, private] |
Definition at line 11 of file _ControlType.py.
string sr_robot_msgs::msg::_ControlType.ControlType::_md5sum = "b998c8b3b8aa0f2f53f0eaa45ee462bd" [static, private] |
Definition at line 9 of file _ControlType.py.
list sr_robot_msgs::msg::_ControlType.ControlType::_slot_types = ['int16'] [static, private] |
Definition at line 26 of file _ControlType.py.
string sr_robot_msgs::msg::_ControlType.ControlType::_type = "sr_robot_msgs/ControlType" [static, private] |
Definition at line 10 of file _ControlType.py.
Definition at line 40 of file _ControlType.py.
int sr_robot_msgs::msg::_ControlType.ControlType::FORCE = 1 [static] |
Definition at line 22 of file _ControlType.py.
int sr_robot_msgs::msg::_ControlType.ControlType::PWM = 0 [static] |
Definition at line 21 of file _ControlType.py.
int sr_robot_msgs::msg::_ControlType.ControlType::QUERY = 1 [static] |
Definition at line 23 of file _ControlType.py.