ifm3dpy.deserialize.ODSPolarOccupancyGridV1

class ifm3dpy.deserialize.ODSPolarOccupancyGridV1

Bases: None

Class for managing an instance of an struct ODSPolarOccupancyGridV1

__init__(self: ifm3dpy.deserialize.ODSPolarOccupancyGridV1) None

Constructor

Methods

__init__(self)

Constructor

deserialize(arg0)

Deserialize ODSPolarOccupancyGridV1 Buffer

Attributes

polarOccGrid

A compressed version of the grid using polar coordinates.

version

version of the grid

static deserialize(arg0: numpy.ndarray[numpy.uint8]) ifm3dpy.deserialize.ODSPolarOccupancyGridV1

Deserialize ODSPolarOccupancyGridV1 Buffer

property polarOccGrid

A compressed version of the grid using polar coordinates. The index corresponds to the angle (index i corresponds to the angle slice i*360/675 degree to (i+1)*360/675 degree), which is defined by atan2(ry, rx). The ray direction is given by (rx, ry). The value is the distance to nearest occupied cell on the ray from the vehicle origin, given in [mm]. In case there are no occupied cells on the ray, the value 65535 is set.

property version

version of the grid