Commit Graph

2990 Commits

Author SHA1 Message Date
Riccardo
e2e2be92c9 add safety mode to health packet 2019-10-24 15:33:27 -07:00
Riccardo
101238c7f6 turned on VW ignition based CAN logic 2019-10-22 17:27:35 -07:00
Riccardo
a0d8d5dae7 fix misra 5.3: check_ignition is intended as check_started and can't be used twice 2019-10-22 16:12:18 -07:00
Riccardo
ea636de615 made check_ignition function to both look at ignition_line and ignition_can 2019-10-22 15:27:55 -07:00
rbiasini
1102e69652 make ignition logic common for all cars (#303)
* 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.
2019-10-22 15:10:43 -07:00
Riccardo
3a110c6f66 bump version after CMSIS core upgrade 2019-10-16 15:22:27 -07:00
dekerr
55dfa52306 Update core to CMSIS 5.6 release (#251)
* initial commit

* release version
2019-10-16 15:19:01 -07:00
Riccardo
ee864907ce fix linter 2 2019-10-16 11:55:00 -07:00
Riccardo
f410b110d8 fix linter 2019-10-16 11:52:55 -07:00
Greg Hogan
55957d6e4e proper python3 exception inheritance 2019-10-16 00:15:16 -07:00
Greg Hogan
6ba0f47b56 fix linter errors 2019-10-15 23:52:52 -07:00
Greg Hogan
5c49fe050e Merge pull request #145 from gregjhogan/uds
Unified Diagnostic Services (UDS) panda library (ISO 14229)
2019-10-15 23:42:22 -07:00
Greg Hogan
0f361999bd timeout is float 2019-10-15 23:38:24 -07:00
Riccardo
396d6aad58 safety_replay only installs few extra requirements 2019-10-15 14:30:02 -07:00
Riccardo
25af7d3019 Misra also need python 3 env 2019-10-15 14:25:34 -07:00
Riccardo
7434c5ce28 centralize requirements for tests 2019-10-15 14:21:33 -07:00
Riccardo
a0c37c70ab coverage not needed in linter reqs 2019-10-15 14:08:29 -07:00
rbiasini
fce38a91d7 Linter python (#299)
* Added pyflakes and Pylint for python

* Actually run linter in CI

* some simple pyflakes changes

* Add flake8 to panda reqs for linter test

* flake8 errors are fixed

* run flake8 in regression tests

* meant to run flake8

* hack to ignore unused import

* bug

* fix bugs in tucan_loopback

* Another fix by using set_safety_mode

* added pylintrc file

* more fixes and enabled pylint as well

* Fix pylint in circleci

* added linter to readme
2019-10-15 14:03:31 -07:00
Riccardo
62e2f5caac update cppcheck commit 2019-10-15 13:57:36 -07:00
Greg Hogan
711810d2f0 more uds debug 2019-10-15 12:14:09 -07:00
Greg Hogan
4454e3a6bb better CAN comm abstraction 2019-10-15 12:07:19 -07:00
rbiasini
6b1f28f574 fix more encoding and some bytes cleanup (#300) 2019-10-15 12:05:33 -07:00
Greg Hogan
43adad3116 fix WARNING_INDICATOR_REQUESTED name 2019-10-14 17:32:23 -07:00
Greg Hogan
9c857da379 0x 2019-10-14 17:32:23 -07:00
Greg Hogan
b64d6fa5d2 typing 2019-10-14 17:32:23 -07:00
Greg Hogan
768fdf7e19 bytes() > chr().encode() 2019-10-14 17:32:23 -07:00
Greg Hogan
1be15ea934 custom errors from thread 2019-10-14 17:32:23 -07:00
Greg Hogan
68da8315f3 more python3 2019-10-14 17:32:23 -07:00
Greg Hogan
eb358e81ca uds lib example 2019-10-14 17:32:23 -07:00
Greg Hogan
4f288586d5 updates for python3 2019-10-14 17:32:23 -07:00
Greg Hogan
932745f62b support tx flow control for chunked messages 2019-10-14 17:32:23 -07:00
Greg Hogan
b1c371292c add timeout param 2019-10-14 17:32:23 -07:00
Greg Hogan
cdf2f626ba bug fixes 2019-10-14 17:32:23 -07:00
Greg Hogan
b1a3195770 fix rx message filtering bug 2019-10-14 17:32:23 -07:00
Greg Hogan
80fb6a6fa0 convert uds lib to class 2019-10-14 17:32:23 -07:00
Greg Hogan
59cd2b47f9 handle separation time in microseconds 2019-10-14 17:32:23 -07:00
Greg Hogan
4429600d8e fix separation time parsing 2019-10-14 17:32:23 -07:00
Greg Hogan
c641e66f72 fix typo 2019-10-14 17:32:23 -07:00
Greg Hogan
48b8dcc6f9 fix flow control delay scale 2019-10-14 17:32:23 -07:00
Greg Hogan
78f413d88f flow control delay 2019-10-14 17:32:23 -07:00
Greg Hogan
33a5167d93 bug fixes 2019-10-14 17:32:23 -07:00
Greg Hogan
8ee89a091d multi-frame tx 2019-10-14 17:32:23 -07:00
Greg Hogan
5e89a9c728 clear rx buffer and numeric error ids 2019-10-14 17:32:23 -07:00
Greg Hogan
9662300632 fix remaining size calculation 2019-10-14 17:32:23 -07:00
Greg Hogan
01ef1fae36 zero pad messages before sending 2019-10-14 17:32:23 -07:00
Greg Hogan
1ddc9735d1 uds can communication 2019-10-14 17:32:23 -07:00
Greg Hogan
dca176e717 syntax errors 2019-10-14 17:32:23 -07:00
Greg Hogan
95be4811ef SERVICE_TYPE enum 2019-10-14 17:32:23 -07:00
Greg Hogan
98e73b51d2 more UDS message type implementation 2019-10-14 17:32:23 -07:00
Greg Hogan
c1c5b0356b uds lib 2019-10-14 17:32:23 -07:00