ifm3dpy.deserialize.ODSInfoV1

class ifm3dpy.deserialize.ODSInfoV1

Bases: object

Class for managing an instance of an struct ODSInfoV1

__init__(self: ODSInfoV1) None

Constructor

Methods

__init__(self)

Constructor

deserialize(buffer)

Deserialize ODS_INFO Buffer to ODSInfoV1 struct

Attributes

timestamp_ns

Timestamp of zone information [ns]

zone_config_id

User specific id to identify the zone configuration

zone_occupied

Array with three value of uint8_t 0 : zone is free 1 : zone is occupied

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

Deserialize ODS_INFO Buffer to ODSInfoV1 struct

Parameters

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

Returns

The deserialized structure.

Return type

ODSInfoV1

property timestamp_ns

Timestamp of zone information [ns]

property zone_config_id

User specific id to identify the zone configuration

property zone_occupied

Array with three value of uint8_t 0 : zone is free 1 : zone is occupied