Commit Graph

1188 Commits (f9053f5df4f2a0be475d5b76c84d371f0b26b7b0)

Author SHA1 Message Date
Riccardo 3b496eefd3 bump version 2019-06-12 17:53:08 -07:00
rbiasini 57a6c493bb
Toyota gas pressed: reconcile panda code with openpilot (#212) 2019-06-12 17:51:47 -07:00
Riccardo 4c9e0af29e simplification of cadillac_get_torque_idx 2019-06-12 13:48:34 -07:00
Riccardo 37576ef3b4 Allow inline suppress for the cppcheck 2019-06-12 13:16:23 -07:00
Riccardo 2f71ba995a Tesla safety now using same line break rules as rest of the code 2019-06-12 13:10:51 -07:00
Riccardo 55679532aa Fix Misra 20.1 violations: Moved safety declarations in its own header and qdded optional input to run misra tests for safety code only. 2019-06-12 06:35:47 -07:00
Riccardo 0e251062c6 Fix Misra 10.8 violations: could not directly cast complex expressions from float to int 2019-06-11 21:46:10 -07:00
rbiasini 23461a176c
Misra 12 1 safety (#209)
* this gets rid of all 12.1 violations
2019-06-11 21:23:48 -07:00
Riccardo 242b3305fe Added fwd hook coverage test for Cadillac and created default_fwd_hook instead of nooutput and alloutput, which were teh same 2019-06-11 19:50:12 -07:00
Riccardo 264de67fe8 Minor clean up to Subaru fwd hook 2019-06-11 19:42:53 -07:00
Riccardo b4c52a1bda Cleaned up subaru FWD hook 2019-06-11 19:40:56 -07:00
Riccardo a605b5720e Also covering fwd hook for Subaru and GM now 2019-06-11 19:37:18 -07:00
Riccardo 133269a1a4 Added fwd test coverage for Toyota, Hyundai and Chrysler too. Removed replay tools for Chrysler, as a generic replay tool has been recently added 2019-06-11 19:24:08 -07:00
Riccardo a4653e2d7f Added fwd hook coverage to safety regression tests 2019-06-11 18:16:48 -07:00
Riccardo f4419b08b9 Simplify get_ts_elapsed 2019-06-11 02:07:02 -07:00
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