54e6124925
version: sunnypilot v2026.001.000 (dev) date: 2026-05-07T23:07:19 master commit: c28eb958740187620f2282023b8f1997cf90f583
19 lines
506 B
Python
19 lines
506 B
Python
from enum import IntEnum
|
|
|
|
class Axis(IntEnum):
|
|
TIME = 0
|
|
EGO_POSITION = 1
|
|
LEAD_DISTANCE= 2
|
|
EGO_V = 3
|
|
LEAD_V = 4
|
|
EGO_A = 5
|
|
D_REL = 6
|
|
|
|
axis_labels = {Axis.TIME: 'Time (s)',
|
|
Axis.EGO_POSITION: 'Ego position (m)',
|
|
Axis.LEAD_DISTANCE: 'Lead absolute position (m)',
|
|
Axis.EGO_V: 'Ego Velocity (m/s)',
|
|
Axis.LEAD_V: 'Lead Velocity (m/s)',
|
|
Axis.EGO_A: 'Ego acceleration (m/s^2)',
|
|
Axis.D_REL: 'Lead distance (m)'}
|