nopenpilot/selfdrive/car
Shane Smiskol 5fe00fb773
Move gas/brake pedal event logic to controlsd (#23850)
* move some state machine logic to controlsd

move some state machine logic to controlsd

* same order

same order

* move unsafeMode up

* disable at standstill

* save last CS

save last CS

* do we need to copy at all?

* don't copy

* rename

* Update selfdrive/controls/controlsd.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Revert "Update selfdrive/controls/controlsd.py"

This reverts commit 10bb51a0f0.

* Update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-15 20:51:07 -07:00
..
chrysler break up selfdrive.config (#23959) 2022-03-13 21:42:39 -07:00
ford break up selfdrive.config (#23959) 2022-03-13 21:42:39 -07:00
gm add parkingBrake to carState (#23968) 2022-03-14 16:32:20 -07:00
honda add parkingBrake to carState (#23968) 2022-03-14 16:32:20 -07:00
hyundai add parkingBrake to carState (#23968) 2022-03-14 16:32:20 -07:00
mazda break up selfdrive.config (#23959) 2022-03-13 21:42:39 -07:00
mock break up selfdrive.config (#23959) 2022-03-13 21:42:39 -07:00
nissan break up selfdrive.config (#23959) 2022-03-13 21:42:39 -07:00
subaru break up selfdrive.config (#23959) 2022-03-13 21:42:39 -07:00
tesla break up selfdrive.config (#23959) 2022-03-13 21:42:39 -07:00
tests Honda: fix possible controls mismatch on Nidecs (#23973) 2022-03-15 17:55:15 -07:00
toyota Toyota: parking brake state (#23970) 2022-03-14 19:19:31 -07:00
volkswagen add parkingBrake to carState (#23968) 2022-03-14 16:32:20 -07:00
README.MD Update README.MD 2021-08-03 16:59:13 -07:00
__init__.py comma pedal: rename create_gas_command -> create_gas_interceptor_command 2021-11-20 20:13:58 -08:00
car_helpers.py cleanup iterate keys in dictionaries (#23497) 2022-01-12 12:42:50 +01:00
disable_ecu.py Hyundai longitudinal prerequisites (#22121) 2021-09-13 22:03:08 -07:00
fingerprints.py Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305) 2021-12-24 11:18:39 -08:00
fw_versions.py check in tuple instead of list (#23477) 2022-01-10 16:36:51 +01:00
interfaces.py Move gas/brake pedal event logic to controlsd (#23850) 2022-03-15 20:51:07 -07:00
isotp_parallel_query.py FW query: catch asserts from uds.py (#22456) 2021-10-07 10:34:59 +02:00
vin.py selfdrive/car 2020-01-17 10:58:43 -08:00

README.MD

Port structure

interace.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