Commit Graph

1016 Commits

Author SHA1 Message Date
Igor Biletskyy 9aea32bada
comma_body: add knee and rpm limits (#665)
* add knee, remove junk

* typo

* rpm limit
2022-07-22 22:59:25 -07:00
Adeeb Shihadeh 4195e8f4c9 enabling this broke a bunch of stuff, revert for now 2022-07-21 20:22:52 -07:00
Adeeb Shihadeh 31bb1832fc always set checksum 2022-07-21 19:47:20 -07:00
Adeeb Shihadeh 1cf2f5b512 counters are all the same 2022-07-21 18:49:50 -07:00
Adeeb Shihadeh 387dcf9628
teach the packer how to count (#669)
* teach the packer how to count

* fix tests

* same as checksum

* little test
2022-07-21 17:51:49 -07:00
Jason Young 72d3f935e6
VW PQ: More cleanup and message updates (#668)
* checksum/counter support for ACC_System

* add CHECKSUM to Motor_5

* minor cleanup
2022-07-21 10:58:19 -07:00
Adeeb Shihadeh e2465cc701
Subaru: Counter -> COUNTER (#666)
* Subaru: Counter -> COUNTER

* run generator

* update tests

* revert that
2022-07-19 16:55:59 -07:00
rusefillc aaf397ed51
Nissan xterra 2011 (#661)
* nissan-xterra-2011: let's start somewhere

* nissan-xterra-2011: let's start somewhere

* nissan-xterra-2011: let's start somewhere

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-15 10:37:06 -07:00
rusefillc 5c5fc14cbc
Bmw eXX: filling some gaps (#662)
* BMW: RPM correction and minor progress

* BMW: progress

* BMW: progress

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-15 10:30:32 -07:00
Jason Young 2afccacd52
VW PQ: Message updates, checksum and counter support (#633)
* refactor MQB checksum/counter to prep for PQ

* first pass at PQ checksums and counters

* remove checksum and counter alignment checks

* forgot HCA_1

* Revert "remove checksum and counter alignment checks"

This reverts commit 0d30ee9b854c933bf12ee9ca26ad0b0f29956cea.

* don't check counter offset

* tweak comment

* handle checksum not starting at zero

* remove unused argument

* add LDW_Textbits to LDW_1

* Update can/common.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* fix counter again; minimize diff

* additional door-open signals

* add trunk lid state

* update LDW_Status message and signals

* typo

* make XOR checksum generic

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-15 10:29:12 -07:00
Shane Smiskol 8e5cd0d302
Honda Civic 2022: add FCW bits (#651)
* BAdd more 2022 Civic ACC signals

* BRun generator
2022-07-13 18:03:17 -07:00
Comma Device 3fb3f5e821 ev6: update button message 2022-07-12 15:24:06 -07:00
Adeeb Shihadeh dd5c3f1bbd
packer/parser: generic counter handling (#659)
* packer/parser: generic counter handling

* pedal isn't special
2022-07-11 12:36:43 -07:00
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