Accumulate normalized observations into an immutable trip snapshot.
More...
|
|
None | observe_vehicle_state (self, VehicleState state) |
| | Consume vehicle speed and fuel-flow telemetry when available.
|
|
None | observe_position_state (self, PositionState state) |
| | Capture usable geographic position independently of motion.
|
|
None | observe_ground_motion_state (self, GroundMotionState state) |
| | Consume provider-neutral ground speed when available.
|
|
TripState | snapshot (self) |
| | Return the current immutable trip snapshot.
|
|
TripState | finish (self, datetime|None ended_at=None) |
| | Finish the current trip and retain its final snapshot.
|
|
None | reset (self) |
| | Discard current trip state and return to idle.
|
Accumulate normalized observations into an immutable trip snapshot.
The documentation for this class was generated from the following file:
- controllers/automotive/trip_tracker.py