Public Member Functions | |
| def | __init__ |
| def | deserialize |
| def | deserialize_numpy |
| def | serialize |
| def | serialize_numpy |
Public Attributes | |
| angular | |
| linear | |
Private Member Functions | |
| def | _get_types |
Static Private Attributes | |
| list | __slots__ = ['linear','angular'] |
| string | _full_text |
| _has_header = False | |
| string | _md5sum = "9d5c2dcd348ac8f76ce2a4307bd63a13" |
| list | _slot_types = ['float32','float32'] |
| string | _type = "turtlesim/Velocity" |
Definition at line 6 of file _Velocity.py.
| def turtlesim::msg::_Velocity::Velocity::__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: linear,angular @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 16 of file _Velocity.py.
| def turtlesim::msg::_Velocity::Velocity::_get_types | ( | self | ) | [private] |
internal API method
Definition at line 41 of file _Velocity.py.
| def turtlesim::msg::_Velocity::Velocity::deserialize | ( | self, | ||
| str | ||||
| ) |
unpack serialized message in str into this message instance @param str: byte array of serialized message @type str: str
Definition at line 59 of file _Velocity.py.
| def turtlesim::msg::_Velocity::Velocity::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 @type str: str @param numpy: numpy python module @type numpy: module
Definition at line 90 of file _Velocity.py.
| def turtlesim::msg::_Velocity::Velocity::serialize | ( | self, | ||
| buff | ||||
| ) |
serialize message into buffer @param buff: buffer @type buff: StringIO
Definition at line 47 of file _Velocity.py.
| def turtlesim::msg::_Velocity::Velocity::serialize_numpy | ( | self, | ||
| buff, | ||||
| numpy | ||||
| ) |
serialize message with numpy array types into buffer @param buff: buffer @type buff: StringIO @param numpy: numpy python module @type numpy module
Definition at line 76 of file _Velocity.py.
list turtlesim::msg::_Velocity::Velocity::__slots__ = ['linear','angular'] [static, private] |
Definition at line 13 of file _Velocity.py.
string turtlesim::msg::_Velocity::Velocity::_full_text [static, private] |
"""float32 linear float32 angular """
Definition at line 10 of file _Velocity.py.
turtlesim::msg::_Velocity::Velocity::_has_header = False [static, private] |
Definition at line 9 of file _Velocity.py.
string turtlesim::msg::_Velocity::Velocity::_md5sum = "9d5c2dcd348ac8f76ce2a4307bd63a13" [static, private] |
Definition at line 7 of file _Velocity.py.
list turtlesim::msg::_Velocity::Velocity::_slot_types = ['float32','float32'] [static, private] |
Definition at line 14 of file _Velocity.py.
string turtlesim::msg::_Velocity::Velocity::_type = "turtlesim/Velocity" [static, private] |
Definition at line 8 of file _Velocity.py.
Definition at line 36 of file _Velocity.py.
Definition at line 34 of file _Velocity.py.