mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-08 13:33:42 +08:00
d8708b65c7
Implement conditional driving modes with explicit scene, button and traffic state ownership. Co-authored-by: Dom <168790843+firestar5683@users.noreply.github.com> Co-authored-by: Harald Schäfer <harald.the.engineer@gmail.com> Co-authored-by: whoisdomi <dcantu83@gmail.com>
30 lines
556 B
Python
30 lines
556 B
Python
"""Pure conditional longitudinal mode policy; no runtime activation or Params I/O."""
|
|
|
|
from openpilot.starpilot.conditional_mode.policy import (
|
|
Authority,
|
|
ConditionalModePolicy,
|
|
Decision,
|
|
LeadEvidence,
|
|
ManualIntent,
|
|
ModeChoice,
|
|
ModeSettings,
|
|
Reason,
|
|
SceneEvidence,
|
|
next_manual_status,
|
|
restore_manual_status,
|
|
)
|
|
|
|
__all__ = [
|
|
'Authority',
|
|
'ConditionalModePolicy',
|
|
'Decision',
|
|
'LeadEvidence',
|
|
'ManualIntent',
|
|
'ModeChoice',
|
|
'ModeSettings',
|
|
'Reason',
|
|
'SceneEvidence',
|
|
'next_manual_status',
|
|
'restore_manual_status',
|
|
]
|