28 lines
469 B
Python
28 lines
469 B
Python
"""
|
|
Copyright © IQ.Lvbs, apart of Project Teal Lvbs, All Rights Reserved, licensed under https://konn3kt.com/tos
|
|
"""
|
|
|
|
from openpilot.iqpilot import IntEnumBase
|
|
|
|
|
|
class Policy(IntEnumBase):
|
|
car_state_only = 0
|
|
map_data_only = 1
|
|
car_state_priority = 2
|
|
map_data_priority = 3
|
|
combined = 4
|
|
|
|
|
|
class OffsetType(IntEnumBase):
|
|
off = 0
|
|
fixed = 1
|
|
percentage = 2
|
|
|
|
|
|
class Mode(IntEnumBase):
|
|
off = 0
|
|
information = 1
|
|
warning = 2
|
|
control = 3
|
|
assist = control
|