nxt_msgs::msg::_Color::Color Class Reference
List of all members.
Detailed Description
Definition at line 7 of file _Color.py.
Member Function Documentation
def nxt_msgs::msg::_Color::Color::__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,intensity,r,g,b
@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 38 of file _Color.py.
def nxt_msgs::msg::_Color::Color::_get_types |
( |
|
self |
) |
[private] |
def nxt_msgs::msg::_Color::Color::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 95 of file _Color.py.
def nxt_msgs::msg::_Color::Color::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 143 of file _Color.py.
def nxt_msgs::msg::_Color::Color::serialize |
( |
|
self, |
|
|
|
buff | |
|
) |
| | |
serialize message into buffer
@param buff: buffer
@type buff: StringIO
Definition at line 78 of file _Color.py.
def nxt_msgs::msg::_Color::Color::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 124 of file _Color.py.
Member Data Documentation
Initial value:"""Header header
float64 intensity
float64 r
float64 g
float64 b
================================================================================
MSG: std_msgs/Header
# Standard metadata for higher-level stamped data types.
# This is generally used to communicate timestamped data
# in a particular coordinate frame.
#
# sequence ID: consecutively increasing ID
uint32 seq
#Two-integer timestamp that is expressed as:
# * stamp.secs: seconds (stamp_secs) since epoch
# * stamp.nsecs: nanoseconds since stamp_secs
# time-handling sugar is provided by the client library
time stamp
#Frame this data is associated with
# 0: no frame
# 1: global frame
string frame_id
"""
Definition at line 11 of file _Color.py.
The documentation for this class was generated from the following file: