sensor_msgs::msg::_Image::Image Class Reference
List of all members.
Public Member Functions |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes |
| data |
| encoding |
| header |
| height |
| is_bigendian |
| step |
| width |
Private Member Functions |
def | _get_types |
Static Private Attributes |
list | __slots__ = ['header','height','width','encoding','is_bigendian','step','data'] |
string | _full_text |
| _has_header = True |
string | _md5sum = "060021388200f6f0f447d0fcd9c64743" |
list | _slot_types = ['Header','uint32','uint32','string','uint8','uint32','uint8[]'] |
string | _type = "sensor_msgs/Image" |
Detailed Description
Definition at line 7 of file _Image.py.
Member Function Documentation
def sensor_msgs::msg::_Image::Image::__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,height,width,encoding,is_bigendian,step,data
@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 61 of file _Image.py.
def sensor_msgs::msg::_Image::Image::_get_types |
( |
|
self |
) |
[private] |
def sensor_msgs::msg::_Image::Image::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 136 of file _Image.py.
def sensor_msgs::msg::_Image::Image::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 212 of file _Image.py.
def sensor_msgs::msg::_Image::Image::serialize |
( |
|
self, |
|
|
|
buff | |
|
) |
| | |
serialize message into buffer
@param buff: buffer
@type buff: StringIO
Definition at line 107 of file _Image.py.
def sensor_msgs::msg::_Image::Image::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 181 of file _Image.py.
Member Data Documentation
The documentation for this class was generated from the following file: