Commit Graph

953 Commits

Author SHA1 Message Date
Adeeb Shihadeh 81148db67f ev6: add all camera messages 2022-07-08 22:36:18 -07:00
Adeeb Shihadeh 9fc90a9f58 ev6: add CAM_0x2a4 2022-07-08 21:35:00 -07:00
Adeeb Shihadeh 1e9693ce09 chrysler: common DAS_4 definition 2022-07-05 22:55:34 -07:00
Adeeb Shihadeh be7562acbb chrysler: add ahb bit 2022-07-05 20:05:28 -07:00
Adeeb Shihadeh b2895650c7
Ram 1500 (#640)
* RamInit

* Dasm Fault

* match new chrysler stuff

* little more

* some more

* better names

* Fix angle signal scaling

* generate common stuff

* little more

* some more

* rename

* old bsm definition

Co-authored-by: Jonathan <jraycec@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-05 15:40:57 -07:00
rusefillc c697d3f8ad
vw_golf_mk4: empty lines for extra readability (#657)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-05 10:34:54 -07:00
Shane Smiskol 9c7248ceb2 remove extra semicolon 2022-06-30 23:10:52 -07:00
rusefillc 7e5957fb8e
vw_golf_mk4: translate signals to English as comments episode 2 (#654)
* English as comments episode 2

* English as comments episode 2

* English as comments episode 2

* English as comments episode 2

* English as comments episode 2

* English as comments episode 2

* huh, really? these new lines seemed useful to me

* my bad

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-30 23:09:42 -07:00
Adeeb Shihadeh 7fbf7c2a68 Chrysler: update signal names to be consistent with Ram port 2022-06-30 16:56:04 -07:00
Jason Young fe6241dcc6
refactor per-manufacturer checksum calculation (#650)
* synchronize function signatures

* if-spaghetti reduction

* add to cython

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-30 11:31:58 -07:00
Shane Smiskol 47b79c4d5a
Chrysler: fix steering angle signals (#645)
* Chrysler_Update

* only steering

* rename

* Revert "Chrysler: some unified signal names/definitions (#642)"

This reverts commit 57c8340a18.

* remove extra signals

* Add old signal for verification

* remove old

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-28 13:33:47 -07:00
rusefillc 5ce12a2558
vw_golf_mk4: translate signals to english as comments (#653)
English as comments

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-24 13:38:48 -07:00
Adeeb Shihadeh 28a40983d9 wait a little longer before printing 2022-06-23 21:18:57 -07:00
Adeeb Shihadeh be19a6b71d remove old Ram 1500 DBC 2022-06-23 16:38:45 -07:00
Adeeb Shihadeh 82be71072c
CANParser: invalid until valid (#648)
* CANParser: invalid until valid

* small test
2022-06-22 15:13:59 -07:00
Adeeb Shihadeh f4b182dae4 Support arbitrary DBC paths 2022-06-22 14:17:22 -07:00
Shane Smiskol e7cd3ebc89
Chrysler: use correct cruise state bits (#649)
* RamInit

* Only do some

* only chrysler

* steering looks good

* Let's verify this in another PR, big change

* don't regress max values

* fix comments

* max val

* update Chrysler DBC signal names

* same endianness

* fix signal name

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-22 12:00:35 -07:00
Adeeb Shihadeh b8b3adfd9d Revert "Chrysler: some unified signal names/definitions (#642)"
This reverts commit 57c8340a18.
2022-06-21 23:03:58 -07:00
Shane Smiskol 57c8340a18
Chrysler: some unified signal names/definitions (#642)
* RamInit

* Only do some

* only chrysler

* steering looks good

* Let's verify this in another PR, big change

* don't regress max values

* fix comments

* max val

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-18 16:59:31 -07:00
Shane Smiskol 5e2a820268
Chrysler: use universal gas and brake signals (#641)
* Chrysler_Update

* Only gas&brake changes

* this replaces that

Co-authored-by: Jonathan <jraycec@gmail.com>
2022-06-16 20:18:28 -07:00
Shane Smiskol a7b391cce8
2022 Honda Civic DBC (#620)
* Initial changes to show no-generator diff

* whoops this shoudld be in the 2018 adas dbc

* This is also now in _bosch_2018

* Legacy brake command doesn't exist

* generate

* remove extra line
2022-06-13 21:55:27 -07:00
Shane Smiskol 86a7f93e01
Honda: move some duplicate unique messages to common DBCs (#637)
* move common 330 STEERING_SENSORS: 8 to base dbc

* move common 342 STEERING_SENSORS: 6 to base dbc

* move radar hud to _bosch_2018

* generate
2022-06-13 15:26:07 -07:00
Shane Smiskol 567601da9a
DBC parser: add back checksum start bit and length checks (#636)
* Revert "remove checksum and counter alignment checks (#634)"

This reverts commit f3232cc32b.

* add logic to ignore checksum check if -1

* think we need size too
2022-06-13 12:11:56 -07:00
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