Commit Graph

331 Commits

Author SHA1 Message Date
Shane Smiskol 510bfc0695
GM: add friction brake unavailable signal (#782)
* Add friction brake unavailable signal

* add comment
2023-02-10 23:44:17 -08:00
Shane Smiskol 6eab6cf6ad
Chrysler: add temporary EPS fault bit (#781)
Add temporary EPS fault bit
2023-02-10 15:22:58 -08:00
Shane Smiskol 2922a0507d
GM: add a cluster speed signal (#780)
* Add cluster speed signal

* add the counter

* add comment

* gen
2023-02-10 14:46:35 -08:00
royjr a10e7ce307
Honda Civic 2022: Rename CONTROL_OFF -> IDLESTOP_ALLOW (#776)
* CONTROL_OFF -> IDLESTOP_ALLOW

This tells the car its ready to turn off the engine, which does so when the car is standstill.

* update comment

update comment

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-10 21:00:42 -08:00
Adeeb Shihadeh 107b96abfc
add some type hints (#774)
* type stubs for common, parser_pyx

* Cleanup imports

* values are indeed floats

* common.pyi complete, added cpp stubs

* parser_pyx.pyi complete

* CANPacker completed

* Holding temp changes...

* remove *.pyi

* just remove skip-file

Co-authored-by: Jason Shuler <jshuler@gmail.com>
2023-01-01 17:09:27 -08:00
Greg Hogan dcab27ca50
toyota: update CAR_MOVEMENT and ODOMETER signal (#748) 2023-01-01 16:10:26 -08:00
Shane Smiskol bb71829028 GM: add comment for ACCAlwaysOne 2022-12-12 17:10:47 -08:00
Shane Smiskol 38fe4d3adc
GM: add steering buttons ACC-related bit (#761)
* add missing acc bit

* this just looks better
2022-12-12 17:03:36 -08:00
Shane Smiskol 1f8aa057bc
Toyota: update LTA signals (#759)
* si

* fix comments

* run generator

* Revert "run generator"

This reverts commit 2b67e4c78ae141fc2bd0c37e9d974cb96d6837e9.

Revert "fix comments"

This reverts commit 7f95fd2cc9027e08816ab68f8fe776db98dc1866.

Revert "si"

This reverts commit f058760d3b11429057800f031fec8b13f1a70d91.

* sort and add LKA_ACTIVE signal (also flip STEER_REQUEST and _2)

* Revert "sort and add LKA_ACTIVE signal (also flip STEER_REQUEST and _2)"

This reverts commit 4ffd0f27db894bb25a7148b59c1c91b0e564d179.

* minimal changes

* run generator
2022-12-08 20:35:26 -08:00
Shane Smiskol 94fff4782b
Toyota: add steer_unavailable EPS states (#756)
* add lxa_unavailable states

* generate

* better to be more descriptive

* better
2022-12-03 02:02:55 -08:00
Shane Smiskol 18e4ceb010
Toyota: fix ACC fault signal comment (#755)
better name and comment
2022-12-03 00:39:47 -08:00
Shane Smiskol 4e3899cbba
Toyota: add ACC faulted signals (#754)
* add acc faulted signal to toyota dbc

* generate
2022-12-02 21:02:00 -08:00
Shane Smiskol 871e054d9a
GM: add cruise state signal (#750)
* add cruise state signal

* values

* accurate
2022-11-22 14:57:13 -08:00
Shane Smiskol 296f190000
GM: add bits for moving backwards (#737)
add bits for moving forward/backwards
2022-11-02 16:17:20 -07:00
Shane Smiskol 2304ecf5b2
GM: add new undefined brake-related signals (#736)
* add some more brake related signals i found

* generate

* standardize name

* add comments

* generate

* fix signal definition
2022-11-02 15:39:33 -07:00
Greg Hogan a70a90016c
Hyundai corner radar DBC (#712)
* corner radar dbc based on palisade

* 0x100/0x200 scale/offset

* update DBC

* generate dbc properly
2022-10-11 16:04:19 -07:00
Shane Smiskol 0c80dc34c3
Add missing checksum and counter signals for PSCMStatus (#715)
* Add missing checksum and counter signals for PSCMStatus

* flip
2022-10-08 22:14:50 -07:00
Shane Smiskol 6fc678148a Add comment about variable length GM message, fix comment syntax 2022-10-07 15:50:33 -07:00
Adeeb Shihadeh eaac172af9
setup generator for hyundai radar dbc (#710)
* setup generator for hyundai radar dbc

* fix indentation
2022-09-21 21:40:31 -07:00
Shane Smiskol 1f47ae8f83
Honda Bosch Radarless: add standstill bit (#699)
* Update honda_civic_ex_2022_can.dbc

* Update honda_civic_ex_2022_can.dbc

* run generator
2022-09-19 11:48:09 -07:00
Shane Smiskol 63581cc6eb
Toyota: add universal units signal (#695)
* Toyota: add universal units signal

* not vehicle units

* Update comment

* Update comment 2

* Update comment 2

* Update signal name for RC and IS
2022-08-29 22:59:48 -07:00
Adeeb Shihadeh 6fad914a10
pre-commit: check generated DBC files (#692) 2022-08-20 21:35:51 -07:00
Jason Shuler 7ae3554ee5
GM: Add Standard Cruse Message, SetSpeed signal (#691)
GM: Add Std CC Message & speed
2022-08-19 23:02:50 -07:00
Shane Smiskol 7e095a90af
Remove Toyota counter exception (#687)
* ignore PRE_COLLISION counter

* remove toyota exception
2022-08-18 22:05:26 -07:00
Ben Scholer 3f722780c3
Toyota: 6MT (manual transmission) signals (#606)
* add clutch the right way

* add comment to GEAR_PACKET
2022-08-17 17:05:31 -07:00
Jason Shuler 541ac4e9a2
GM: Add signals, correct AEB signal sizes and standardize names (#682)
* ECMVehicleSpeed left tire and comment

* GM Speed and AEB Cleanup

* Add CC CruiseActive signal
2022-08-16 22:39:24 -07:00
Shane Smiskol c6665ed11b
GM: fix set speed scaling (#679)
Move scaling into DBC for GM cruise setpoint
2022-08-12 18:29:30 -07:00
Jason Shuler ec48f1a06b
GM: add counter and checksum for ASCMSteeringButton (#678)
Add RC and Checksum for steer btns
2022-08-10 11:54:44 -07:00
Adeeb Shihadeh e0d7cdd695 move the val line too 2022-08-04 22:51:44 -07:00
Adeeb Shihadeh a7db5dfee8 chrysler: add Transmission_Status to base dbc 2022-08-04 22:45:55 -07:00
martinl 24acbb7c2b
Subaru: ACC soft disable (#605)
* Add ES_Distance Cruise_Soft_Disable

* Fix Engine_Stop_Start indent

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-31 19:09:44 -07:00
Adeeb Shihadeh d9a55f4f7c remove one more duplicate 2022-07-29 15:31:08 -07:00
Adeeb Shihadeh 1ac45af6e8 fix duplicate ram dt msg 2022-07-29 15:08:18 -07:00
Adeeb Shihadeh 344a3cfce5 chrysler: fix ram hd base dbc 2022-07-29 14:34:19 -07:00
Adeeb Shihadeh 14cf233cce
chrysler longitudinal signals (#676)
use generator
2022-07-28 21:51:34 -07:00
realfast 736db8a2b2
Chrysler: add Ram HD (#670)
ram hd

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-28 21:29:23 -07:00
martinl 72f5366e41
Subaru: Use SI units for ACC distance signals (#604) 2022-07-28 20:58:19 -07:00
Adeeb Shihadeh e370496206 subaru global: adjust eps torque scale to match lkas command 2022-07-27 14:43:15 -07:00
realfast d1684b1845
Chrysler: add signal for higher precision steering angle (#672)
* Higher Precision

* add to base dbc

* change that for consistency

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-25 13:50:13 -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
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
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
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 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
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