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
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
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
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
rbiasini
162f4853df
fix chr to bytes conversions ( #298 )
2019-10-13 18:15:04 -07:00
rbiasini
f9053f5df4
more Python 3 fixes, attempting to fix jenkins wifi regresison test ( #295 )
...
* more Python 3 fixes, attempting to fix jenkins wifi regresison test. Not successful, but closer.
2019-10-10 12:34:52 -07:00
Jason Young
2f9e076289
Panda safety code for Volkswagen, Audi, SEAT, and Škoda ( #293 )
...
* Panda safety code for Volkswagen, Audi, SEAT, and Škoda.
* First pass at MISRA compliance.
* Second pass at MISRA compliance.
* Fix scope of violation boolean.
* MISRA doesn't care for implicit cast of unsigned int to boolean.
* Remove superfluous newline.
* Remove unused VW ignition hook code, preserve commentary.
* Add 50% padding to max delta check.
* Add 50% padding to max delta check.
* Add clarity around the origin of our safety constants.
* Update test RT delta to match safety.
2019-10-09 13:54:22 -07:00
rbiasini
ffbdb87a8d
python2 -> 3 fixes to pedal flasher ( #292 )
...
* python2 -> 3 fixes to pedal flasher
* fix Debug flash as well
* Fixes to wifi-test
2019-10-08 19:07:59 -07:00
Robbe
736c2cbf7b
Fixed sending of bytes over PandaSerial
2019-10-07 14:26:44 -07:00
rbiasini
af0960ad3d
DFU fix ( #288 )
...
* DFU fix
* fix test 2
* this should fix all the remaining jenkins test
* Fixed pyenv shim not being a python file, but a sh script
2019-10-03 19:46:28 -07:00
rbiasini
70219d7bb2
match safety enum in cereal ( #285 )
...
* match safety enum in cereal
* removing tons of hardcoding
* add pythonpath to safety test
* Fix safety test in Docker
2019-10-02 18:20:32 -07:00
Robbe
c4aabae591
Fixed some python3 bugs in the test scripts and PandaSerial
2019-09-27 15:22:13 -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
5f2bc44606
better
2019-09-25 16:52:51 -07:00
Riccardo
b2a30fdbdf
make works!
2019-09-25 16:52:03 -07:00
Riccardo
fe727706bd
read file as byte and no tab before sleep
2019-09-25 14:34:28 -07: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