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 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['control_type'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "a91c98360f1bce9810ba146996feea80" |
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 24 of file _ControlType.py.
def sr_robot_msgs.msg._ControlType.ControlType._get_types | ( | self | ) | [private] |
internal API method
Definition at line 46 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 62 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 88 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 52 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 77 of file _ControlType.py.
list sr_robot_msgs::msg::_ControlType.ControlType::__slots__ = ['control_type'] [static, private] |
Definition at line 21 of file _ControlType.py.
string sr_robot_msgs::msg::_ControlType.ControlType::_full_text [static, private] |
"""int16 control_type int16 PWM=0 int16 FORCE=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 = "a91c98360f1bce9810ba146996feea80" [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 22 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 36 of file _ControlType.py.
int sr_robot_msgs::msg::_ControlType.ControlType::FORCE = 1 [static] |
Definition at line 19 of file _ControlType.py.
int sr_robot_msgs::msg::_ControlType.ControlType::PWM = 0 [static] |
Definition at line 18 of file _ControlType.py.