Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
drive | |
speed | |
Static Public Attributes | |
int | BACKWARD = 2 |
int | DIAGONAL_BACKWARD_LEFT = 9 |
int | DIAGONAL_BACKWARD_RIGHT = 10 |
int | DIAGONAL_FORWARD_LEFT = 7 |
int | DIAGONAL_FORWARD_RIGHT = 8 |
int | FASTEST = 1 |
int | FORWARD = 1 |
int | HEAD_DOWN = 12 |
int | HEAD_MIDDLE = 13 |
int | HEAD_UP = 11 |
int | MAX_DRIVE_VAL = 18 |
int | MAX_SPEED_VAL = 10 |
int | MIN_DRIVE_VAL = 0 |
int | MIN_SPEED_VAL = 1 |
int | ROTATE_LEFT = 5 |
int | ROTATE_LEFT_20_DEG = 17 |
int | ROTATE_RIGHT = 6 |
int | ROTATE_RIGHT_20_DEG = 18 |
int | SLOWEST = 10 |
int | STOP = 0 |
int | STRAIGHT_LEFT = 3 |
int | STRAIGHT_RIGHT = 4 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['drive','speed'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "14675853bd9417686a1390c3fb2eaae6" |
list | _slot_types = ['int8','int8'] |
string | _type = "rovio_shared/man_drv" |
Definition at line 8 of file _man_drv.py.
def rovio_shared.msg._man_drv.man_drv.__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: drive,speed :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 71 of file _man_drv.py.
def rovio_shared.msg._man_drv.man_drv._get_types | ( | self | ) | [private] |
internal API method
Definition at line 96 of file _man_drv.py.
def rovio_shared.msg._man_drv.man_drv.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 113 of file _man_drv.py.
def rovio_shared.msg._man_drv.man_drv.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 141 of file _man_drv.py.
def rovio_shared.msg._man_drv.man_drv.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 102 of file _man_drv.py.
def rovio_shared.msg._man_drv.man_drv.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 129 of file _man_drv.py.
list rovio_shared::msg::_man_drv.man_drv::__slots__ = ['drive','speed'] [static, private] |
Definition at line 68 of file _man_drv.py.
string rovio_shared::msg::_man_drv.man_drv::_full_text [static, private] |
Definition at line 12 of file _man_drv.py.
rovio_shared::msg::_man_drv.man_drv::_has_header = False [static, private] |
Definition at line 11 of file _man_drv.py.
string rovio_shared::msg::_man_drv.man_drv::_md5sum = "14675853bd9417686a1390c3fb2eaae6" [static, private] |
Definition at line 9 of file _man_drv.py.
list rovio_shared::msg::_man_drv.man_drv::_slot_types = ['int8','int8'] [static, private] |
Definition at line 69 of file _man_drv.py.
string rovio_shared::msg::_man_drv.man_drv::_type = "rovio_shared/man_drv" [static, private] |
Definition at line 10 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::BACKWARD = 2 [static] |
Definition at line 47 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::DIAGONAL_BACKWARD_LEFT = 9 [static] |
Definition at line 54 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::DIAGONAL_BACKWARD_RIGHT = 10 [static] |
Definition at line 55 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::DIAGONAL_FORWARD_LEFT = 7 [static] |
Definition at line 52 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::DIAGONAL_FORWARD_RIGHT = 8 [static] |
Definition at line 53 of file _man_drv.py.
Definition at line 83 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::FASTEST = 1 [static] |
Definition at line 63 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::FORWARD = 1 [static] |
Definition at line 46 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::HEAD_DOWN = 12 [static] |
Definition at line 57 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::HEAD_MIDDLE = 13 [static] |
Definition at line 58 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::HEAD_UP = 11 [static] |
Definition at line 56 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::MAX_DRIVE_VAL = 18 [static] |
Definition at line 62 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::MAX_SPEED_VAL = 10 [static] |
Definition at line 66 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::MIN_DRIVE_VAL = 0 [static] |
Definition at line 61 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::MIN_SPEED_VAL = 1 [static] |
Definition at line 65 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::ROTATE_LEFT = 5 [static] |
Definition at line 50 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::ROTATE_LEFT_20_DEG = 17 [static] |
Definition at line 59 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::ROTATE_RIGHT = 6 [static] |
Definition at line 51 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::ROTATE_RIGHT_20_DEG = 18 [static] |
Definition at line 60 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::SLOWEST = 10 [static] |
Definition at line 64 of file _man_drv.py.
Definition at line 83 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::STOP = 0 [static] |
Definition at line 45 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::STRAIGHT_LEFT = 3 [static] |
Definition at line 48 of file _man_drv.py.
int rovio_shared::msg::_man_drv.man_drv::STRAIGHT_RIGHT = 4 [static] |
Definition at line 49 of file _man_drv.py.