Files
StarPilot/selfdrive/car
Shane Smiskol 9bc945c428 Stock longitudinal: spam resume button when lead starts moving (#24873)
* always log leads, we hide them in ui

* only spam resume when future is > vEgoStarting

* do rest but vw

* vw

* remove comments

* rename to resume

* maintain original button msg rate

* mazda: ensure no resume if cancelling

* same for non-HDA2

* Always run planner if not opLong

* try 0.2

* 0.1 should be pretty safe

* add test for resuming

* fix test

* stricter test, speeds[-1] is 0.14 when starting here

* no walrus

* fixup mazda cc

* remove extra import
old-commit-hash: fd2de54172b4a76f2ab8ac5d8f8eca5c41739351
2022-07-07 00:24:03 -07:00
..
2022-06-30 17:23:12 -07:00
2022-07-06 23:42:07 -07:00
2022-06-30 17:23:12 -07:00
2022-06-30 17:23:12 -07:00
2022-07-05 16:42:53 -07:00
2022-06-30 17:23:12 -07:00
2022-07-06 23:42:07 -07:00
2022-07-06 23:42:07 -07:00
2022-03-29 21:45:23 -07:00

Port structure

interface.py

Generic interface to send and receive messages from CAN (controlsd uses this to communicate with car)

carcontroller.py

Builds CAN messages to send to car

carstate.py

Reads CAN from car and builds openpilot CarState message

values.py

Fingerprints and absolute limits

radar_interface.py

Radar interface