* 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
* Improve panda automated testing
* begin testing both white and grey panda
* Improve wifi reliability
* First commit for docker
* Fix usb devices not showing up on reconnect
* Add tests for two pandas, latency and throughput
* Add Jenkinsfile
* Allow flashing release on wifi
* Fix Jenkins stuck in DFU mode and docker container running
* Add pandaextra from xx to docker
* Need more time for ST to restart, sometimes
* Add xml output to tests
* Try making wifi more reliable
* Fix infinite loop in ping
* Check connected after flash
* Cleanup two panda tests
* Try fixing failing test with check after udp
* Try to fix with sleep
* Temporarily run just 5 and 6
* Cleanup
* Desperate times call for desperate measurse
* BUGFIX: power saving when rx only
* Fix failing when white panda is first after udp
* Test both Dev and EON build
* Jenkins test results for both builds
* Better test case naming
* panda safety test that replays drives of saved CAN messages
* utility to trim Cabana CSV logs to just messages relevant for panda safety testing
* when trimming, only output the same line once even if it matches both criteria
* 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
* Addition to Bosch safety to support Hatchback
The computer brake is shown on 0x17c sensor on Accord and CR-V. We assumed all Bosch Hondas had the new 0x1be message which reports manual brake, but Civic Hatchback is not like this- It doesn't have this message and 0x17c works like the other Hondas so we are are passing a parameter from Openpilot for this.
* Renamed variable
* Make comment more descriptive
* Added safety check for cancel-only spamming
* Add regression test for brake on accord and crv
Init with bosch safety variables
Some more testing changes (still broken)
Make second test work
* Adds one more ttest
* Cannot implicitly convert type 'int' to 'bool '
* ok to spam resume if controls_allowed==true
* need to use current_controls_allowed. Still need to fix the message blocking
* checking for bus 0 on button spam
* better to use the car name in front of global vars
* even better name and fixed safety tests
* added some steer safety to Cadillac
* bug fixes
* added cadillac full steering safety. To be tested
* RT checks and max checks working. Need to test driver torque based limits
* cadillac steer safety should be done
* unneded lines
* added steer override check when IPAS is in control
* same override threshold as carController
* added initial safety tests for angle control
* cleaned up safety tests and added ipas state override check
* ipas_override is an unnecessary global variable
* bump panda version
* inital infrastructure for panda safety testing
* add test for toyota acceleration
* test for non real time torque rate limits and refactoring
* add test for cruise disable
* fix toyota limit down
* add tests for realtime limits
* test for torque measurements
* fix toyota test setup
* honda button logic
* test for brake logic
* tests for gas logic
* test steer, gas and brake message contents
* add test script
* fix hardcoded limits
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.