ouster.sdk.viz.accum_base module

class AccumulatorBase(model, point_viz, track)[source]

Bases: object

The base of any class used in LidarFrameVizAccumulators that displays data accumulated from frames.

Parameters:
property metadata: List[SensorInfo]

Metadatas for the displayed sensors.

get_palette(cloud_mode)[source]
Return type:

CloudPaletteItem

Parameters:

cloud_mode (CloudMode)

property active_cloud_mode: str

Name of current color mode of point ACCUM/MAP point clouds

cycle_cloud_mode(*, direction=1)[source]

Change the coloring mode of the point cloud for MAP/ACCUM clouds

Parameters:

direction (int)

cycle_cloud_palette(*, direction=1)[source]

Change the color palette of the point cloud for MAP/ACCUM clouds

Parameters:

direction (int)

update(frame, frame_num=None)[source]

Register the new frame and update the states of TRACK, ACCUM and MAP :rtype: None

Parameters:
  • frame (FrameSet)

  • frame_num (int | None)

Return type:

None

toggle_visibility(state=None)[source]
Parameters:

state (bool | None)