OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
automotive.vehicle_state_source_if.VehicleStateSourceIf Class Reference

Connect and publish complete vehicle-state snapshots. More...

Public Member Functions

None connect (self)
 Connect or activate the vehicle telemetry source.
None disconnect (self)
 Disconnect or deactivate the vehicle telemetry source.
VehicleState read_state (self)
 Return the latest vehicle telemetry snapshot.

Detailed Description

Connect and publish complete vehicle-state snapshots.

Member Function Documentation

◆ read_state()

VehicleState automotive.vehicle_state_source_if.VehicleStateSourceIf.read_state ( self)

Return the latest vehicle telemetry snapshot.

Returns
Current complete vehicle state.

The documentation for this class was generated from the following file:
  • controllers/automotive/vehicle_state_source_if.py