Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
gear | |
header | |
relays | |
Static Public Attributes | |
int | Drive = 4 |
int | Neutral = 3 |
int | Park = 1 |
int | Reset = 0 |
int | Reverse = 2 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','gear','relays'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "dddb61d8575e01ea7857ef1b3a7b941c" |
list | _slot_types = ['std_msgs/Header','uint8','uint8'] |
string | _type = "art_msgs/Shifter" |
Definition at line 9 of file _Shifter.py.
def art_msgs.msg._Shifter.Shifter.__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,gear,relays :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 66 of file _Shifter.py.
def art_msgs.msg._Shifter.Shifter._get_types | ( | self | ) | [private] |
internal API method
Definition at line 94 of file _Shifter.py.
def art_msgs.msg._Shifter.Shifter.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 119 of file _Shifter.py.
def art_msgs.msg._Shifter.Shifter.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 170 of file _Shifter.py.
def art_msgs.msg._Shifter.Shifter.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 100 of file _Shifter.py.
def art_msgs.msg._Shifter.Shifter.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 150 of file _Shifter.py.
list art_msgs::msg::_Shifter.Shifter::__slots__ = ['header','gear','relays'] [static, private] |
Definition at line 63 of file _Shifter.py.
string art_msgs::msg::_Shifter.Shifter::_full_text [static, private] |
Definition at line 13 of file _Shifter.py.
art_msgs::msg::_Shifter.Shifter::_has_header = True [static, private] |
Definition at line 12 of file _Shifter.py.
string art_msgs::msg::_Shifter.Shifter::_md5sum = "dddb61d8575e01ea7857ef1b3a7b941c" [static, private] |
Definition at line 10 of file _Shifter.py.
list art_msgs::msg::_Shifter.Shifter::_slot_types = ['std_msgs/Header','uint8','uint8'] [static, private] |
Definition at line 64 of file _Shifter.py.
string art_msgs::msg::_Shifter.Shifter::_type = "art_msgs/Shifter" [static, private] |
Definition at line 11 of file _Shifter.py.
int art_msgs::msg::_Shifter.Shifter::Drive = 4 [static] |
Definition at line 61 of file _Shifter.py.
Definition at line 78 of file _Shifter.py.
Definition at line 78 of file _Shifter.py.
int art_msgs::msg::_Shifter.Shifter::Neutral = 3 [static] |
Definition at line 60 of file _Shifter.py.
int art_msgs::msg::_Shifter.Shifter::Park = 1 [static] |
Definition at line 58 of file _Shifter.py.
Definition at line 78 of file _Shifter.py.
int art_msgs::msg::_Shifter.Shifter::Reset = 0 [static] |
Definition at line 57 of file _Shifter.py.
int art_msgs::msg::_Shifter.Shifter::Reverse = 2 [static] |
Definition at line 59 of file _Shifter.py.