Commit Graph

1173 Commits

Author SHA1 Message Date
quillford cd20d123c4 refactor tests/safety to use generic hooks (#208)
* refactor tests/safety to use generic hooks

* cleanup refactor

* removed dead code
2019-06-11 01:31:00 -07:00
Riccardo fa1c928961 Fix Misra 13.4 on safety code 2019-06-11 01:10:45 -07:00
Riccardo 7372ade33e Fix Misra 15.6 on safety code 2019-06-11 01:07:41 -07:00
Riccardo a2d5c9b5f4 Fix Misra 17.8 on safety code 2019-06-11 00:58:22 -07:00
Riccardo b7ed7adc71 Fix Misra 20.7 on safety code 2019-06-11 00:49:26 -07:00
Riccardo 38f4288f1e running misra also specifically for safety code 2019-06-10 21:58:01 -07:00
Willem Melching 50658b2b00 Use dfu-utils binary from panda repo on EON 2019-06-10 13:56:13 -07:00
Riccardo 1dfe11ed3a Set controls_allowed=0 in Chrysler safety init 2019-06-07 17:36:07 -07:00
quillford c381a470b1
replay test (#205)
replay drives to test for safety violations. fails if any messages are blocked while controls are allowed
2019-06-07 17:12:02 -07:00
Riccardo 274f9ce06d Misra: separately save the cppcheck output in its own artifact 2019-06-07 15:39:30 -07:00
Riccardo d77fa17913 deleted unnecessary subaru safety init and using nooutput_init instead 2019-06-07 15:11:28 -07:00
Riccardo 20171596f7 update cppcheck ref to have more comprehensive misra checks 2019-06-06 16:00:53 -07:00
Riccardo 7f8babb8ad Much more thorough limit safety tests on Honda, also switching long_controls_allowed 2019-06-05 16:14:10 -07:00
Riccardo 71099efaba AddedToyota safety test around long_controls_allowed logic and fixed a bug 2019-06-05 15:29:09 -07:00
Riccardo 07fd31e921 added long_controls_allowed tests in GM 2019-06-05 14:52:48 -07:00
Riccardo 6ce580a062 added function to get/set long_controls_allowed 2019-06-05 14:40:07 -07:00
Riccardo a2f93d4353 update VERSION 2019-06-05 14:29:55 -07:00
rbiasini 380b7c75c5
Long allowed (#202)
* added long_controls_allowed to cars safety code. long_controls_allowed init to 1 for now, so safety tests pass
2019-06-05 14:00:07 -07:00
rbiasini 09714e3a44
Toyota gas cancellation (#200)
* cancel on pedal press for toyota.
2019-06-05 13:38:59 -07:00
Riccardo 436b203e0b Honda safety: fixed bug and properly abstracted gas_interceptor_detected variable 2019-06-04 13:36:46 -07:00
Riccardo 220cc8f4b5 Honda safety: this concludes the proper re-naming 2019-06-04 12:43:50 -07:00
Riccardo a00a50c622 Honda safety: better naming 2019-06-04 12:21:52 -07:00
Riccardo 95b010943f Toyota: fixed regression safety tests 2019-06-03 16:53:03 -07:00
Commaremote 192fd05318 Toyota safety: fixed rounding logic 2019-06-03 16:06:39 -07:00
George Hotz 0c5b220889
Merge pull request #194 from commaai/refactor
panda code refactor pre MISRA
2019-05-24 09:00:08 -07:00
George Hotz b35f6ff566 legacy build is no longer supported 2019-05-23 13:23:21 -07:00
George Hotz a06af9f2aa always LIVE on EON 2019-05-23 12:39:54 -07:00
George Hotz dc5979f66a LIVE on EON 2019-05-23 12:39:54 -07:00
George Hotz 0b26645b12 no EON by default 2019-05-23 12:39:54 -07:00
George Hotz 1906a4b769 panda now draws below 100mw in power save mode 2019-05-23 12:39:54 -07:00
George Hotz e70b44aa57 move that to main.c 2019-05-23 12:39:54 -07:00
George Hotz dfce5f6e36 minor fixes, and no more autobaud 2019-05-23 12:39:54 -07:00
George Hotz 7f303e868c bump version to 1.3.0 2019-05-23 12:39:54 -07:00
George Hotz 96a7e3196f a soothing blue in power save mode 2019-05-23 12:39:54 -07:00
George Hotz a74f001ba7 refactor power savings to depend on car started bit 2019-05-23 12:39:54 -07:00
George Hotz 386d5dfdf2 can wake from sleep is removed, didn't work in the first place 2019-05-23 12:39:54 -07:00
George Hotz 881b1f442b not on pedal chip 2019-05-23 12:39:54 -07:00
George Hotz 0a9f8eb581 remove many ifdef PANDA 2019-05-23 12:39:54 -07:00
George Hotz 506900576b remove nested includes and include guards 2019-05-23 12:39:54 -07:00
George Hotz 3810452a02 WTF WHY WAS THIS SHIT PUT EVERYWHERE 2019-05-23 12:39:54 -07:00
George Hotz 3cf8db9351 can.h always has CAN3 2019-05-23 12:39:22 -07:00
George Hotz 1f97c2189b refactor pedal bootstub to use llcan 2019-05-23 12:39:22 -07:00
George Hotz 58ec63b31f oops, backward 2019-05-23 12:39:22 -07:00
George Hotz 6255097a10 new style power savings 2019-05-23 12:39:22 -07:00
George Hotz 6b282f1c06 tesla doesn't need a special LIN hook 2019-05-23 12:39:22 -07:00
George Hotz 1d2467756e refactor #ifdef EON 2019-05-23 12:39:22 -07:00
George Hotz d9306c50fe NEO are no longer supported 2019-05-23 12:39:22 -07:00
George Hotz 4af036e93a fixup puts 2019-05-23 12:39:22 -07:00
George Hotz 2c1e5f6325 the refactor continues 2019-05-23 12:39:22 -07:00
George Hotz 7517f2c174 remove ifdef PANDA from main 2019-05-23 12:39:22 -07:00