ifm3dpy.deserialize.ODSExtrinsicCalibrationCorrectionV1

class ifm3dpy.deserialize.ODSExtrinsicCalibrationCorrectionV1

Bases: object

Class for managing an instance of an struct ODSExtrinsicCalibrationCorrectionV1

__init__(self: ODSExtrinsicCalibrationCorrectionV1) None

Constructor

Methods

__init__(self)

Constructor

deserialize(buffer)

Deserialize ODSExtrinsicCalibrationCorrectionV1 Buffer

Attributes

completion_rate

The completion rate ranging from 0.0 to 1.0, where 1.0 indicates that sufficient data was collected to estimate all three delta values.

rot_delta_valid

A flag indicating a valid estimation of the rotation delta value.

rot_delta_value

The estimated rot delta value [rad] to correct the extrinsic calibration.

rot_head_to_user

The rotation value [rad] of the (corrected) extrinsic calibration (extrinsicHeadToUser).

version

version of the grid

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

Deserialize ODSExtrinsicCalibrationCorrectionV1 Buffer

Parameters

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

Returns

The deserialized structure.

Return type

ODSExtrinsicCalibrationCorrectionV1

property completion_rate

The completion rate ranging from 0.0 to 1.0, where 1.0 indicates that sufficient data was collected to estimate all three delta values.

property rot_delta_valid

A flag indicating a valid estimation of the rotation delta value. 0 means invalid, 1 means valid. Array of [X, Y, Z].

property rot_delta_value

The estimated rot delta value [rad] to correct the extrinsic calibration. Array of [X, Y, Z].

property rot_head_to_user

The rotation value [rad] of the (corrected) extrinsic calibration (extrinsicHeadToUser). Array of [X, Y, Z].

property version

version of the grid