Commit Graph

1016 Commits

Author SHA1 Message Date
Shane Smiskol 053a761244
CANParser: add field for all values from a cycle (#558)
* could work

* should be light-speed

* clean up

* clean up

* make sure updated is empty if nothing is updated

updating without a msg is undefined behavior

* should be fast enough

* more test

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-02-10 13:01:30 -08:00
Adeeb Shihadeh f74f93629b
CANParser: minor speedup (#560) 2022-02-09 22:46:28 -08:00
Adeeb Shihadeh 24538ceb04 Revert "CANParser: add field for all updated values (#548)"
This reverts commit da47fe5e45.
2022-02-09 22:01:25 -08:00
Shane Smiskol 6770f1cdfb
CANParser: remove ts field (#557)
more usages
2022-02-09 11:59:15 -08:00
Shane Smiskol da47fe5e45
CANParser: add field for all updated values (#548)
* add updated field

* rename to updated

* draft

* clean up

* function for resetting

* *minor* refactor

* clean up names

* keep track of updated vals in the cc parser

* remove extra lines

* remove ts

* match parser_pyx

* cleaner to just call the cpp function as we don't need to aggregate updated values

* draft

* some tests

* fix test

* clean up

clean up

* test clean up

* add clarifying comments

* Revert "remove ts"

This reverts commit fd4558289d6667a42ab41c4511b0d8fe54eb7fc8.

* fix order

* use vals

* fix dup
2022-02-07 15:36:00 -08:00
Shane Smiskol 6b57a33def
GM: add ignition signals used in panda (#549)
* add ignition signals

* fix

* fix

* fix

* fix

* update comment

* add comment for good ignition

* update
2022-02-03 13:35:55 -08:00
Shane Smiskol 60a246c0a8
tests: remove CANParser default values (#550)
* remove default vals

* remove default vals
2022-02-03 00:24:45 -08:00
Jason Shuler de9899e413
GM: add new ECMPRDNL2 message with more detailed transmission / gear status (#547)
* GM Add PRNDL2 (Adds L)

* Updated GM ECMPRDNL2
2022-02-02 13:37:04 -08:00
Jason Shuler f819e4e4a8
GM: fix ECMEngineStatus.EngineRPM size (#546) 2022-02-01 14:55:35 -08:00
Igor Biletksyy 572ab7641b Change body DBC 2022-01-31 16:15:58 -08:00
Shane Smiskol e5f99fa5c9
Honda: remove bosch_2020 DBC (#543)
* remove bosch_2020

* generate
2022-01-31 13:18:47 -08:00
Shane Smiskol 9ecd53cd81
Honda: remove Pilot DBC (#539)
* we can use ilx DBC. gear_shifter is defined differently, but with the new signal defs, it parses the same

* generate
2022-01-28 21:14:25 -08:00
Shane Smiskol 0e5e9579e1
Honda: move gas pedal signals to common DBC (#538)
* move GAS_PEDAL signals to common

* run generator
2022-01-28 15:42:56 -08:00
Shane Smiskol 62a376f72b
Honda: move stalk messages to common Honda DBC (#537)
* Move STALK_STATUS_2 to common Honda DBC

* Move STALK_STATUS to common Honda DBC

* generate
2022-01-28 15:08:19 -08:00
Shane Smiskol 24957aa226
Honda: move more messages into common DBC (#536)
* move DOORS_STATUS to common Honda DBC

* move POWERTRAIN_DATA to common Honda DBC

* move VSA_STATUS to common Honda DBC

* move VEHICLE_DYNAMICS to common Honda DBC

* move CRUISE to common Honda DBC

* generator
2022-01-28 14:33:22 -08:00
Shane Smiskol 14993d8939
Honda: create new DBC for common messages (#533)
* Move only duplicate signals to common dbc

* add imports

* final formatting fixes

* run generator!
2022-01-28 11:14:28 -08:00
Shane Smiskol 23fda2afa7
generator: only clear DBCs from output path (#535) 2022-01-27 23:19:11 -08:00
Shane Smiskol 9d6d882342
Honda: remove headers from base DBCs (#532)
* remove headers from base honda DBCs

* generate
2022-01-27 22:25:28 -08:00
Shane Smiskol eea4ba1cba
CANParser: remove configurable default values (#527) 2022-01-27 17:02:12 -08:00
Adeeb Shihadeh 3a433eb22a run generator 2022-01-27 10:34:37 -08:00
Adeeb Shihadeh ed48838d84 Toyota: rename Rav4 DBC with platform name 2022-01-27 10:34:11 -08:00
Adeeb Shihadeh cd2a464c0e Toyota: remove Lexus IS DBC 2022-01-27 10:25:51 -08:00
Adeeb Shihadeh 51e327947a update test 2022-01-27 08:58:43 -08:00
Adeeb Shihadeh b76f01b0e5 Toyota: remove Prius DBC 2022-01-27 08:56:55 -08:00
Adeeb Shihadeh 560d21f96e generator clear old files 2022-01-27 08:50:12 -08:00
Adeeb Shihadeh bce6bb121a Toyota: unify TNGA-K platform DBCs 2022-01-27 08:49:56 -08:00
Adeeb Shihadeh b72c12864d CT is also same as Rav4 2022-01-27 08:41:05 -08:00
vanillagorillaa 190789f78b
move brake pressure message (#525) 2022-01-26 22:58:42 -08:00
vanillagorillaa 0d0dda76ac
Honda: move kinematics msg into common DBCs (#524)
* kinematics merge

* add for dual nidec too

* doesn't need it

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-26 22:16:23 -08:00
Adeeb Shihadeh 8ba3b8df83 remove generated one too 2022-01-26 22:09:56 -08:00
Adeeb Shihadeh e587d946fa same as rav4 now 2022-01-26 21:29:17 -08:00
Shane Smiskol 1070d2a418
Toyota: set scaling factor of EPS signals to 1 (#522)
* move STEER_TORQUE_SENSOR to _toyota_2017

* run generator
2022-01-26 20:59:18 -08:00
Shane Smiskol e2acd0794c
Toyota: use common gear packet for all cars (#464)
* move all gear packets to common toyota

* add imports for nodsu_pt

* run generator

* remove old generated dbc
2022-01-26 16:56:27 -08:00
Jason Shuler f199eb33fc
GM: use generator + add pedal messages (#478)
* GM: Add AEB & Friction Brake
* Camera-based ACC uses the PT bus for friction brake
   Packet structure matches ASCM version from Chassis Bus
* Added AEB message from FFC (Possibly also ASCM)

* GM: Add Pedal Interceptor messages

* Revert "GM: Add Pedal Interceptor messages"

This reverts commit 008f967428.

* GM: Add generated w pedal supp

* GM remove redundant dbc

* forgot to run generator

* Remove old GM PT dbc

* Re-ran generator; added line

* GM PT Imports moved to top
2022-01-24 20:11:34 -08:00
Jacob 1e655cc6ad
CANParser: reduce repeated dictionary creations (#506)
Co-authored-by: Jian Cheng <jian.cheng@mindcruise.ai>
2022-01-24 15:46:00 -08:00
Adeeb Shihadeh e94bd12bd4
Toyota: move gas pedal definitions into common DBC (#505)
* Toyota: move gas pedal definitions into common DBC

* fix those
2022-01-24 14:04:55 -08:00
Shane Smiskol 6ac5f9b1d3
Toyota: fix _comma.dbc indentation (#516)
* clean up comma dbc formatting

* indent

* gen
2022-01-20 23:10:03 -08:00
Shane Smiskol 8b57188e26
Toyota: sort messages by address (#514)
* sort msgs

* generate!
2022-01-20 22:24:30 -08:00
Shane Smiskol c9ffdbe0ff
Toyota: sort DBC imports by specificity (#517)
* do toyota

* generate 🤖
2022-01-20 22:21:03 -08:00
Shane Smiskol bc9915a422
Honda: sort DBC imports by specificity (#518)
* do honda

* run generator
2022-01-20 22:20:22 -08:00
Shane Smiskol f9444d1942
Toyota: add comment for LOCK_STATUS signal (#513)
* add comment

* update comment
2022-01-20 14:26:40 -08:00
Shane Smiskol 5949d4f316
generator: fix imports leaving extra newlines (#508)
* fix imports leaving an extra line

* generate!
2022-01-20 14:12:05 -08:00
Shane Smiskol 45396095e1
Toyota: add DOOR_LOCKS signal (#512)
* add DOOR_LOCKS signal

* run generator
2022-01-20 14:08:31 -08:00
vanillagorillaa a20ed24ea2
Honda: remove redundant Ridgeline DBC (#507) 2022-01-19 22:12:20 -08:00
cydia2020 ed41734a34
Toyota: LKAS_HUD expansion (#501)
* toyota LKAS_HUD signal expansion

* update signal definition

* add more messages
2022-01-19 16:47:48 -08:00
cydia2020 56d4afde5c
Toyota: unify Sienna, Avalon, Highlander Lexus NX, Lexus RX into single DBC (#504)
* remove sienna

* remove nx and rx as well

* highlander as well

* rename avalon dbc to toyota_tnga_k_tss_p_ice

* remove avalon dbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 11:24:46 -08:00
Adeeb Shihadeh c5eb11a6ec Toyota: remove redundant Avalon DBC 2022-01-19 10:47:55 -08:00
Adeeb Shihadeh 356212f519 run generator 2022-01-19 10:37:28 -08:00
cydia2020 0af1997841
Toyota: unify Lexus NXH, Lexus RXH, HighlanderH, Rav4H into single DBC (#503)
* remove nxh dbc

basically the same as rav4h

* remove highlanderh 2018

* remove rxh dbc

* rename rav4h to tngah

* simpler name

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-19 10:36:05 -08:00
cydia2020 b91ac61098
Toyota: remove Lexus GS DBC (#502) 2022-01-19 10:29:24 -08:00