HorizonSnapshot

constructor(paths: List<HorizonPath>, state: HorizonSnapshotState, mainPathId: Int?)

Parameters

paths

The list of horizon paths, consisting of the main path and zero or more sub-paths. The main path is where the vehicle is located. A sub-path is any path in the horizon snapshot that is not the main path.

state

The horizon snapshot state.

mainPathId

The id of the main path. Null if there is no on-road position.