Commit Graph

880 Commits

Author SHA1 Message Date
Shane Smiskol 05d53c44fc
Honda: merge Nidec DBCs (#635)
* Merge Nidec DBCs

* remove old file

* fix set mes

* remove comment

* add comments for ACC_HUD

* run generator
2022-06-11 00:54:36 -07:00
Shane Smiskol 58a2c9b2fc
Move common ACC_HUD message to _honda_common (#632)
* move common ACC_HUD to _honda_common

* generate
2022-06-11 00:03:30 -07:00
Shane Smiskol ec0e1f20ba
Honda: move CAR_SPEED to common DBC (#631)
Make 777 common
2022-06-09 20:37:17 -07:00
Jason Young f3232cc32b
remove checksum and counter alignment checks (#634) 2022-06-09 11:47:53 -07:00
cydia2020 30aacafa10
Toyota: add follow distance signal (#627)
* toyota pcm follow distance

* update

* probably self-explanatory at this point

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-07 17:19:10 -07:00
Jason Young 6fe407dece
VW PQ: DBC updates (#630)
VW PQ: Cleanup, new messages
2022-06-07 11:34:38 -07:00
Shane Smiskol fbd2e71c4a
tests: remove DBC parsing timing test (#626)
* instead test parsing all DBCs

* remove print

* add comment for what this tests

* Welcome back, guys. Only adjust good torque if maxLatAccel is set
2022-06-02 16:46:38 -07:00
echo1001 dadceae628
Toyota: add LTA state signal (#622)
* Add LTA Status

* Generate

* Fix typo

* added LTA_STATE value descriptions

* Update generator/toyota/toyota_nodsu_pt.dbc

* update range and definitions

* haven't seen a permanent fault yet

* generate

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-02 01:49:17 -07:00
Shane Smiskol 28f03c3cd7
Toyota: add permanent EPS fault status (#625)
add EPS_STATUS 17
2022-05-31 19:38:24 -07:00
Shane Smiskol c8a851618a
dbc parser: remove address check for interceptor check (#615)
* draft

* remove address

* don't see why this isn't fine
2022-05-25 23:49:48 -07:00
Adeeb Shihadeh 7701277d26 more ev6 lka signals 2022-05-21 19:42:45 -07:00
Adeeb Shihadeh 8eb133d8f7 ev6: add LFA button 2022-05-20 17:35:02 -07:00
Adeeb Shihadeh c3903fd01c ev6: more cruise buttons 2022-05-19 22:13:36 -07:00
Adeeb Shihadeh 210237fa63 more ev6 mdps signals 2022-05-18 22:35:09 -07:00
Adeeb Shihadeh 87af8c4ac1 CANParser: wait a couple seconds printing misisng 2022-05-16 21:56:14 -07:00
Shane Smiskol 16ef13cec5
DBC parser: add line number to errors (#614)
* add line number to errors

* spacing for backslashes
2022-05-16 16:58:45 -07:00
Adeeb Shihadeh 1599f2e370
Kia EV6 (#567) 2022-05-15 18:26:19 -07:00
Shane Smiskol 247a2a0034
Honda: rename _honda_2017 to _nidec_2017 (#617)
* rename honda to nidec

* generate
2022-05-13 21:38:01 -07:00
Shane Smiskol 490ddedc59
comma body: add checksum state (#613)
* add checksum state for comma body dbc

* ohh these are per byte, nice
2022-05-13 15:55:56 -07:00
Shane Smiskol c53965dfbd
Remove dbc_template.cc (#612)
remove dbc_template
2022-05-13 15:29:32 -07:00
Willem Melching c699a06af5
dbc regex, do not escape underscore (#611) 2022-05-13 13:52:36 +02:00
Shane Smiskol bd7589b628 Remove dbc_out 2022-05-12 19:55:49 -07:00
Shane Smiskol b302f6934e
Dynamically parse DBCs (#602)
* initial commit, bring over from deanlee's PR based on newer commit

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix msb, lsb, size

* fix lsb

* clean up

* need this for CI

* add missing body checksum/counter

* get dir from BASEDIR first, then $HOME

* fix CI

* doesn't work

* just hardcode when compiling

* remove process_dbc

* add test for startup time

* test can parsing

* fix

* better

* bye bye dbc.py

* fix startswith

* add function to get dbc names for plotjuggler

* check DBC_FILE_PATH

* revert

* rename

* slightly more consistent at ~0.57 seconds

* make sure the tests make sense

* test ms per line

* use ctre

* Revert "use ctre"

This reverts commit 5e1a4440e465c901403a9717bbdef5b573e9838e.

* compile regex at import time

* add debug print and lower test time

* add comment

* 0.02 ms per line max

* better error messages

* only include what we need, and make it explicit

* check total time

check total time

* no global

* always a list

* not a c loop any more

* default to list

* use hex

* make static (only calculate path once)

* seems to be more consistent now (30-38 ms)

Co-authored-by: Dean Lee <deanlee3@gmail.com>
2022-05-12 17:59:33 -07:00
cydia2020 cda173c9f7
Toyota UI Display Speed (#607)
* Toyota UI Display Speed

* comment fix
2022-05-11 21:30:17 -07:00
Adeeb Shihadeh 9564b74d80 remove extra new line 2022-05-11 16:27:09 -07:00
Adeeb Shihadeh 76b7f2e645
cloudlog support (#608)
* cloudlog support

* cleanup
2022-05-11 15:53:02 -07:00
Shane Smiskol 919154efe2
Chrysler: add ACC faulted signal (#600)
* add possible acc faulted signal

* update comments

* update comments

* revert this comment

* update ACC_FAULTED signal

* Revert "update ACC_FAULTED signal"

This reverts commit 46e88a31390444a63abc89da99a47018fdcffcff.

* clean up
2022-05-07 00:57:59 -07:00
Shane Smiskol 601ffd9c21
DBCs: fix duplicate messages (#603) 2022-05-06 22:52:00 -07:00
Jason Shuler 3818988802
GM: Add ParkBrake signal for manual parking brakes (#601) 2022-05-03 17:55:25 -07:00
MT 7c4cebef37
mazda_radar: fix track msg names and remove unrelated radar msgs (#599) 2022-04-29 11:47:19 -07:00
MT b936931c78
Added new DBC file: mazda_radar.dbc (#596)
* Added new DBC file: mazda_radar.dbc

* Added missing RVEL_OBJ

* Fixed signal

Co-authored-by: unknown <ryleymcc@shaw.ca>
2022-04-25 10:46:59 -07:00
Igor Biletksyy bd5b56e891 body: remove cell count 2022-04-21 12:29:00 -07:00
Shane Smiskol e19ba095c3
Toyota: remove interceptor scaling (#552)
* set scale to 1 and make signals match

* remove offsets as well
2022-04-20 22:20:01 -07:00
Jason Young 84e0f59441
VW MQB: Populate Kombi_03 signals (#593) 2022-04-20 13:09:03 -07:00
cydia2020 88ed84f557
Toyota: fix description of DISTANCE signal (#592)
* fix description of DISTANCE and arrange ACC_CONTROL in numerical order

* run generator
2022-04-19 11:06:06 -07:00
Adeeb Shihadeh 9f3902657d cleanup sconstruct 2022-04-19 10:55:38 -07:00
Igor Biletksyy 35cf5c9e5d body: add cells count, fix bugs 2022-04-15 13:47:41 -07:00
Igor Biletksyy 025e9eed40 body: add motors currents msg 2022-04-14 17:01:39 -07:00
Cameron Clough bdbf186962
add missing import for std::numeric_limits<...>::max() (#589) 2022-04-13 09:48:25 -07:00
Adeeb Shihadeh 004db342a8
CANParser: add flag for bus timeout (#586)
* CANParser: add flag for bus timeout

* bump to 500ms

* 10x most frequent msg

* little test

* per bus

* Update can/parser.cc
2022-04-12 22:34:27 -07:00
Shane Smiskol eb56fff37a
Honda: remove interceptor scaling (#588)
* update threshold

* generate
2022-04-12 10:22:11 -07:00
Jason Young b928a20513
VW MQB: Detect sport-manumatic shift program (#587) 2022-04-08 22:10:47 -07:00
Chris Souers 5a51aa7dde
Fix Honda checksum for extended CAN IDs. Add test function. (#585)
* Fix checksum for Honda extended CAN. Add test.

* revert packer_parser test

* begin test_checksum

* todo and comments

* convention

* unused

* forgot the s

* again

* cleanup

* remove that too

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-06 21:33:57 -07:00
Igor Biletksyy 3154fcc3b3 body: typo 2022-04-05 23:44:26 -07:00
Igor Biletksyy 02b653060c body: battery percentage and charger connected 2022-04-05 23:35:49 -07:00
Jason Young 87ff863432
allow utf-8 encoded characters (#581) 2022-04-05 15:06:23 -07:00
Igor Biletskyy cc45cc1bc0
body: counter and crc (#583)
* add to signals

* revert

* add fault byte

* add checksum to packer

* move flags to bits
2022-04-04 17:48:56 -07:00
Igor Biletksyy 3fac5a26b5 body: add checksum and counter 2022-04-04 13:52:07 -07:00
Igor Biletskyy 08b1564ba9 change body address to x250 2022-03-30 23:43:31 -07:00
Igor Biletskyy 560c0793d2
Body: DBC file (#582)
* change sign

* signed..

* change structure
2022-03-30 16:01:47 -07:00