ifm3dpy.deserialize.RGBInfoV1

class ifm3dpy.deserialize.RGBInfoV1

Bases: object

Class for managing an instance of an struct RGBInfoV1

__init__(self: RGBInfoV1) None

Constructor

Methods

__init__(self)

Constructor

deserialize(buffer)

Deserialize RGB_INFO Buffer to RGBInfoV1 struct

Attributes

exposure_time

Actual exposure time of the 2D image

extrinsic_optic_to_user

Extrinsic optic paramter of the 2D head

frame_counter

Frame count, The frame counter is initialized to 0 at the initialization

intrinsic_calibration

Intrinsic Calibration parameters

inverse_intrinsic_calibration

Inverse intrinsic Calibration parameters

timestamp_ns

The timestamp of the 2D image, given in nano second

version

Version of the RGB_INFO data

static deserialize(buffer: Annotated[numpy.typing.ArrayLike, numpy.uint8]) RGBInfoV1

Deserialize RGB_INFO Buffer to RGBInfoV1 struct

Parameters

buffer (numpy.ndarray) – The raw buffer data as an array of numpy.uint8.

Returns

The deserialized structure.

Return type

RGBInfoV1

property exposure_time

Actual exposure time of the 2D image

property extrinsic_optic_to_user

Extrinsic optic paramter of the 2D head

property frame_counter

Frame count, The frame counter is initialized to 0 at the initialization

property intrinsic_calibration

Intrinsic Calibration parameters

property inverse_intrinsic_calibration

Inverse intrinsic Calibration parameters

property timestamp_ns

The timestamp of the 2D image, given in nano second

property version

Version of the RGB_INFO data