Adeeb Shihadeh
298c830739
Cleanup dead code in CAN parser + packer ( #573 )
...
* remove duplicate implementation
* Cleanup dead code in CAN parser + packer
* little more
2022-02-24 22:58:37 -08:00
Marc Wimmershoff
8a62233a83
Python DBC CAN encoder, fix scale/offset ( #428 )
...
* Bugfix in dbc CAN encoder
While encoding, we need to subtract the offset first before we apply the factor.
* Update dbc.py
* Forgot to add import for assert_almost_equal
* test against C++ can packer
* turn into unittest
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-20 16:05:43 +02:00
Adeeb Shihadeh
1f1ff225bd
enable almost all flake8 checks
2020-06-01 02:03:03 -07:00
Adeeb Shihadeh
e92e74311a
whitespace after comma
2020-05-31 12:48:54 -07:00
Adeeb Shihadeh
5d33ec0f18
two spaces before inline comment
2020-05-31 00:56:04 -07:00
Adeeb Shihadeh
73685b609d
fix linter complaint about whitespace around operators
2020-05-31 00:33:53 -07:00
Adeeb Shihadeh
b15edbc1b5
fix linter complaint about inline comment whitespace
2020-05-30 19:44:56 -07:00
rbiasini
d309cdce78
Added linter to opendbc ( #203 )
...
* Added linter to opendbc
* this?
* This should work
* another try
* added pylintrc
2019-12-03 14:50:23 -08:00
rbiasini
e155e01748
Can migration ( #199 )
...
* moved CAN to opendbc
* also dbc was needed
* dbc test also added
2019-11-22 21:46:33 -08:00