* Align with VW Community port 0.7.4-devel
* Import of PQ35/PQ46/NMS safety work
* Add safety replay drive for PQ35/PQ46/NMS
* Unwind community port hax for upstream, bump Panda ver
* Update comment
* Reduce whitespace diff
* Reduce whitespace diff
* Don't test the drive until it's uploaded
* Propitiate MISRA
* Ixnay on the VERSION LF
* Remove VERSION LF, update safety_replay with PQ drive
* Freshen cereal ref to include fields used in VW PQ test drive
* Remove superfluous return
* Bypass Docker caching issue
* CRC and counter checks, standstill/brake checks
* Clean up a tsk_06 that snuck through
* Be consistent about how we call _msg_esp_05
* Reduce scope: haunted by the ghost of MISRA future
* Improved check/test for in-motion braking
* MISRA styling fix
* Checkpoint Panda refactoring updates
* Rename MQB safety tests in preparation for PQ
* Refactor MQB tests, add missing torque test
* Bring in MQB init without CRC LUT setup
* Fix to ACC_06 test case
* Fix to ACC_06 test case
* Tweak comment for clarity
* Drop superfluous return
* Started whitelisting messages
* Also toyota and cadilalc fix
* bug fixes and better checks. Need to figure out a solution for honda
* Whitelist also for subaru
* Added Chrysler as well to whitelist
* And Hyundai too
* now all supported cars should have a whitelist of messages
* Fix linter
* This should fix process replay
* Honda too is now whitelisted
* struct typedef
* Had forgot GM
* had a wrong addr for GM whitelist
* This should fix all the tests
* bump panda
* make ignition logic common for all cars
* ignition_can is not a safety thing. move it to can drivers
* bump version
* gm safety passive is deprecated
* move tx 1 on logic into board specific headers.
* Panda safety code for Volkswagen, Audi, SEAT, and Škoda.
* First pass at MISRA compliance.
* Second pass at MISRA compliance.
* Fix scope of violation boolean.
* MISRA doesn't care for implicit cast of unsigned int to boolean.
* Remove superfluous newline.
* Remove unused VW ignition hook code, preserve commentary.
* Add 50% padding to max delta check.
* Add 50% padding to max delta check.
* Add clarity around the origin of our safety constants.
* Update test RT delta to match safety.
Implement the safety limits
Smarter forwarding:
Detect what msgs are sent by OP and drop corresponding CAM msgs
Detect if Stock CAM is connected
Detect if CAM is in hardware passthrough
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Initial version of L-Line Relay
* lline relay fix build, add to health
* Add lline relay to safety
* Lline relay fix build
* Fix tests
* Add lline safety init. Dont fwd with relay closed
* Turn on relay with CAN
* relay hook
* More reliable lline relay
* Longer LLine timeout
* Only turn on wifi if not eon
* Dont disable ESP in early
* Allow CAN to be turned off
- CAN is turned off via USB.
- CAN is turned on when either try to transmit or can is received
- If only transmit is asleep, all messages should send okay
- If receive is alseep, will miss first message while waking up
- Sometimes will report error on second message while CAN perif wakes up
- Saves 130mW!
* Power Saver Mode
- Gray Panda power consumption 650mw -> 325mW
- Turns off CAN, GMLAN, LIN, GPS when no activity for 10s
- No acitvity is no CAN send, CAN Recv, Write to GPS
* Fix power_saving to better turn off can
- On some cars when the can is turned off, it triggers a wakeup.
Delaying the automatic wakeup seems to fix this
* Don't save power in pedal
* Fix relay clicking on startup
* Fix duplicate include
* consistent relay setting
* relay_status can be added when needed, as it's started_alt was consumed in other places
* need to skip forwarding only if relay control is claimed
* unneded change
* make lline_relay.h not depending on can.h
* less spaghetti I guess
* less lines
* reset pedal changes
* no unused input
* update version
* added safety_ascm
* better using one funciton
* GM_ASCM safety mode by default
* fixced ign bug and passing everything for now
* blocking 0x152-0x154 and reforwarding 0x153
* gotta fwd 152 as well on CH bus
* adding braking message block
* blocking gas cmd as well
* allow cadillac supercruise to pass through
* no more hardcoded ascm safety mode
* Chrysler safety model and tests.
* fix comments
* when ACC is canceled, disallow controls
* update SAFETY_CHRYSLER value in Python API and add other SAFETY values
* Added Tesla safety changes.
* Use generic interpolate function from safety.h
* Moved Tesla safety include to within IFDEF PANDA as legacy neo boards don't support floats used in Tesla safety code
* Remove double-pull code and time tracking from CAN message.
Better enclose Tesla-relevant code in ifdef PANDA due to use of floats
* Changes as per requests by @rbiasini from conversations in https://github.com/commaai/panda/pull/132
* Removed unused variable
Do interpolation check at every step (not every 25)
Change tesla safety constant number to 8, not 7
* Add the HYUNDAI safety number
* Remove unused struct and function (fsample)
* fix build
* Add stub gmlan implementations in safety tests
* added initial ford safety header
* added ford ok safety. Missing brake check
* added force cancel check in ford safety
* added brake check to fusion
* fixed nomenclature
Resets controls_allowed not only gas and brake,
but on pressing regen paddle as well.
Radar configuration, dashboard status, and chime
messages are always allowed through.
Revert "fix openpilot board flashing"
This reverts commit 8ff93ad5da.
Revert "Fixed output_enabled led not turning off when mode changed to no output."
This reverts commit 27a8af1107.
Revert "Fixed loopback test for new GMLAN 'can4' behavior."
This reverts commit 59592f599a.
Revert "GMLAN is now always mapped through CAN4 (index 3)"
This reverts commit 329c091024.
Revert "Removed compile time config for CAN loopback, implemented as usb message."
This reverts commit e1a4c32985.
Revert "Change all output safety mode identifier to prevent user mistakes."
This reverts commit 6b363e2e92.
Revert "untabify"
This reverts commit 191f67b083.
Revert "Refactor of safety to support more modular additions of safety policies."
This reverts commit e5b524eddc.
Revert "Split up some more header files into compilation units."
This reverts commit e2a78912f5.
Revert "Enabled emulated control writes over USB."
This reverts commit 133cfe9703.
Revert "Moved CAN and USART code out of main.c and into more appropriate files."
This reverts commit daad2dc062.
Revert "Large Panda CAN cleanup. Restrict GMLAN to valid baud rates."
This reverts commit a0616a2bc2.
Revert "Panda library now correctly sends USB direction bit."
This reverts commit 1712c901d4.
Revert "Board makefile now automatically calculates header file dependencies."
This reverts commit 4a8d4e597b.
Revert "Loopback test works over wifi. (Disable trying to send over wifi)"
This reverts commit dae636968a.
Revert "Fix legacy board build"
This reverts commit 62bf4e5756.
Revert "Style cop"
This reverts commit c439f43726.
Revert "Untabify"
This reverts commit 41e5eec621.
Revert "Fixed disabling gmlan."
This reverts commit 5e1e45a4af.
Revert "Removed dead code, standardized canid in more commands, better erroring behavior."
This reverts commit b59aeb6d87.
Revert "loopback test works with new CAN bus ids."
This reverts commit 75970861cf.
Revert "Large reorganization of code and early integration of can bitrate setting."
This reverts commit a1ed7b62ee.