joy::msg::_Joy::Joy Class Reference
List of all members.
Detailed Description
Definition at line 6 of file _Joy.py.
Member Function Documentation
def joy::msg::_Joy::Joy::__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:
axes,buttons
@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 17 of file _Joy.py.
def joy::msg::_Joy::Joy::_get_types |
( |
|
self |
) |
[private] |
def joy::msg::_Joy::Joy::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 66 of file _Joy.py.
def joy::msg::_Joy::Joy::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 113 of file _Joy.py.
def joy::msg::_Joy::Joy::serialize |
( |
|
self, |
|
|
|
buff | |
|
) |
| | |
serialize message into buffer
@param buff: buffer
@type buff: StringIO
Definition at line 48 of file _Joy.py.
def joy::msg::_Joy::Joy::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 93 of file _Joy.py.
Member Data Documentation
Initial value:"""float32[] axes
int32[] buttons
"""
Definition at line 10 of file _Joy.py.
The documentation for this class was generated from the following file: