Commit Graph

1173 Commits

Author SHA1 Message Date
Riccardo a338d39322 Fix build for jenkins test 2019-10-02 18:02:49 -07:00
rbiasini 78ef4a6ebc
Stop charge (#284)
* CDP by default in EON build on white panda

* Cleaned up power mode setting

* send usb power mode in health

* cleaner CDP setting on ignition

* bump panda
2019-10-02 11:48:40 -07:00
Arne Schwarck 5266a40287 Fix typo (#286) 2019-10-02 11:40:38 -07:00
Riccardo f4787ec5a2 Revert "turn on CDP when ignition switches on (#281)"
This reverts commit 8c1df559f7.
2019-10-01 17:01:14 -07:00
Riccardo d37daee978 Revert "NONE and CLIENT should be the same thing in white/grey pandas"
This reverts commit e97b283e77.
2019-10-01 15:20:59 -07:00
Riccardo e97b283e77 NONE and CLIENT should be the same thing in white/grey pandas 2019-10-01 15:16:13 -07:00
rbiasini 8c1df559f7
turn on CDP when ignition switches on (#281) 2019-09-30 21:48:30 -07:00
Riccardo 847a35d423 Fix bullet points 2019-09-27 17:22:22 -07:00
rbiasini fac0277169
Misra update (#280)
* Updated cppcheck ref. New rules to be fixed

* changed 2 MACRO names that had more than 31 characters in common

* Fix newly popped 10.4: same type on arithmetic ops

* Fix 18.4: operators should not be applied to an expression

* ensure a NULL pointer isn't dereferenced
2019-09-27 17:18:02 -07:00
Riccardo 5a04df6b15 Added description of regression tests to README 2019-09-27 17:15:41 -07:00
Robbe c4aabae591 Fixed some python3 bugs in the test scripts and PandaSerial 2019-09-27 15:22:13 -07:00
Robbe 9af0cb3534 Bump version 2019-09-27 13:24:46 -07:00
Robbe c4ac3d63be Disable GPS load switching on black pandas 2019-09-27 13:22:06 -07:00
Riccardo 078ee588c2 This is the correct table, actually 2019-09-27 11:15:29 -07:00
Riccardo 578b95ee33 Misra table of coverage added 2019-09-27 11:11:16 -07:00
Riccardo d383a2625f bump panda 2019-09-27 00:08:30 -07:00
rbiasini b98ca010d2
fix sdk build in python3 env (#279) 2019-09-27 00:06:32 -07:00
Riccardo 63d3dc7d34 Set python3 env before runnign get_sdk, so we know if it fails 2019-09-26 17:51:14 -07:00
George Hotz e951d79c0a legacy code we don't control can remain python2 2019-09-26 17:41:32 -07:00
George Hotz 11b7151180
Merge pull request #276 from commaai/python3
Python3
2019-09-26 17:25:09 -07:00
George Hotz 9893a842a7
Merge pull request #277 from zorrobyte/patch-1
Update README.md
2019-09-26 17:16:58 -07:00
Riccardo d3268690c9 Revert "revert back esptool to python2 and force to build esptools with python2"
This reverts commit 875e76012b.
2019-09-26 17:02:38 -07:00
Riccardo 875e76012b revert back esptool to python2 and force to build esptools with python2 2019-09-26 16:21:47 -07:00
Riccardo 9c40e6240b needed to install python3 2019-09-26 02:07:03 -07:00
Riccardo ed2ac87cf4 Also moved safety tests to python3 2019-09-26 01:06:38 -07:00
Riccardo 6842b2d2ce move esptool sdk installation before python3 env is set. Kind of a cheat 2019-09-26 00:53:58 -07:00
Riccardo b5a2cabcd7 this hopefully fixes build test 2019-09-25 23:31:51 -07:00
Riccardo 6280509559 Fixes safety replay 2019-09-25 23:09:22 -07:00
Riccardo 2c220b623d this fixes language regr test 2019-09-25 21:59:18 -07:00
Riccardo fdbe789b8d use python 3 in Docker container 2019-09-25 19:00:57 -07:00
Riccardo ee1ae4f861 Better hash print 2019-09-25 17:06:25 -07:00
Riccardo 0de9ef73cc Revert "Final 2to3 on the whole repo"
This reverts commit c92fd3bc90.
2019-09-25 17:01:13 -07:00
Riccardo c92fd3bc90 Final 2to3 on the whole repo 2019-09-25 16:58:56 -07:00
Riccardo 5f2bc44606 better 2019-09-25 16:52:51 -07:00
Riccardo b2a30fdbdf make works! 2019-09-25 16:52:03 -07:00
Riccardo b74005d10a fix sign.py 2019-09-25 16:41:38 -07:00
Riccardo fe727706bd read file as byte and no tab before sleep 2019-09-25 14:34:28 -07:00
Ross Fisher 32a344ef6e
Update README.md 2019-09-25 10:55:46 -04:00
Riccardo 2dc34096a0 2to3 applied 2019-09-24 22:33:46 -07:00
Riccardo ffa68ef711 undo unnecessary brackets for print 2019-09-24 18:07:05 -07:00
Riccardo dbc248027e Fix all the prints with 2to3, some need to be undo 2019-09-24 18:02:15 -07:00
Riccardo 5a7aeba0f5 xrange is gone 2019-09-24 17:56:55 -07:00
Riccardo 982c4c928f one more python3 env 2019-09-24 17:55:03 -07:00
Riccardo 1e2412a297 env python -> env python3 2019-09-24 17:50:53 -07:00
Jafar Al-Gharaibeh 9881e61184 Panda for Mazda (#165)
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>
2019-09-09 15:58:41 -07:00
Comma Device 9a15d2f5b5 fix version newline 2019-09-09 15:37:01 -07:00
Bugsy a8ed7d2199 add subaru outback/legacy to subaru safety (#259)
* add subaru outback/legacy safety

* subaru safety passes misra check

* change violation to bool
2019-09-09 15:13:02 -07:00
George Hotz bdeb1c953f mazda is #12 2019-09-09 14:56:14 -07:00
Riccardo 14ea4d2e07 merge safety gm in a single file 2019-09-08 14:07:05 -07:00
Vasily Tarasov bf1ef875ee Add GM passive safety mode (#266) 2019-09-08 14:02:27 -07:00