ouster.sdk.viz.tracks_accumulator module

Copyright (c) 2023, Ouster, Inc. All rights reserved.

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

Bases: AccumulatorBase

Encapsulates render state for tracks (scan positions) and key frames (which are “interesting” scan positions according to the LidarScanVizAccumulatorsConfig.) Cloud objects (from the ouster_viz library) are used to render the tracks.

DEFAULT_PT_SIZE = 5
DEFAULT_KF_PT_SIZE = 10
property track_visible: bool

Returns true if the track is visible.

toggle_visibility(state=None)[source]

Toggle track visibility by adding or removing the Clouds used to render it to / from the viz.