Commit Graph

1252 Commits

Author SHA1 Message Date
Shane Smiskol d40e429914
Subaru: more infotainment signals (#823)
* new infotainment sigs

* better names

* generate

* another static bit signal (set on a forster)

* generate
2023-04-17 16:50:14 -07:00
Willem Melching 9eec5335a0
DBC parser: assert no duplicate signal names in msg (#821)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-17 09:59:20 -07:00
Willem Melching b7546cd3f4
remove duplicate signal names from Honda DBCs (#822) 2023-04-17 09:56:43 -07:00
Adeeb Shihadeh 7191f4472f
CI: split up jobs + update requirements (#819) 2023-04-15 23:18:45 -07:00
Adeeb Shihadeh 003baff1ac switch to pat 2023-04-15 17:58:40 -07:00
Adeeb Shihadeh 613cd27326
CI: add job to update pre-commit hooks (#817)
* CI: add job to update pre-commit hooks

* rm push trigger
2023-04-15 17:47:34 -07:00
github-actions[bot] 82779a84ea
pre-commit: autoupdate hooks (#818)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-04-15 17:47:23 -07:00
Jason Young 342c0320dd
VW MQB: Cleanup HCA control message (#805)
* VW MQB: Clean up HCA control message

* enable checksum/counter, change scaling

* fix mangled comment character encoding
2023-04-15 11:17:46 -07:00
Shane Smiskol 933d784a0d
Honda Radarless: add a cruise related signal (#807)
* add sigs

* checksum and counter
2023-04-14 02:31:17 -07:00
Adeeb Shihadeh f50e9d78bd
CANParser: add msg name to debug prints (#813) 2023-04-13 14:48:00 -07:00
Adeeb Shihadeh 3c81860270
test parser: bump up one signal threshold 2023-04-08 15:36:23 -07:00
Justin Newberry f9837ff91c
Subaru: add infotainment status message (#809)
* wip

* forgot checksum and stuff

* update

* add blank filler

* fix missing bit

* fix missing bit

* remove filler signals

* convert toval
2023-04-08 11:03:05 -07:00
Shane Smiskol 8a3c9a7251
honda_civic_ex_2022: add BRAKE_MODULE (#811)
* add sigs

* update

* detection
2023-04-07 00:25:28 -07:00
Adeeb Shihadeh 9c851fa9f9
CI: set PYTHONWARNINGS=error (#806) 2023-04-02 10:41:42 -07:00
Dean Lee f01929f0b9
CANParser: improve cython performance (#802)
* improve cython performance

* change thresholds

* Trigger CI

* reduce threshold for test all signals

* change

* reduce min

* change

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* change

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* change

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI

* Trigger CI
2023-04-02 07:45:51 -07:00
Dean Lee 9a1de83e4b
CANParser: use emplace_back to reduce the cost of copying values (#797) 2023-03-31 13:51:14 -07:00
Dean Lee 0ff25034c4
CANParser: add performance test (#801)
* add benchmarks

* cleanup

* unittest

* thresholds

* add test for update_strings

* change thresholds

* increase to 50000

* trigger ci

* update thresholds

* trigger ci

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-03-31 13:50:03 -07:00
FLcruising bb3bc2b14c
VW PQ: corrections to EPB_1 (#804)
Fixes many messages, some of which are used as feedback to ACC and "Follow-to-Stop" function.
2023-03-30 12:36:13 -07:00
Dean Lee cc966f5c47
CANPacker: pass values by reference in cython (#803) 2023-03-28 12:33:37 -07:00
Seonghoon Jeong 8c5f9c402c
hyundai_2015_ccan.dbc: fix signal scale (#732)
Update hyundai_2015_ccan.dbc

The scale of signal `CF_Ems_IsgStat2` should be 1.0 instead of 2.0 because two bits are assigned for the signal. Otherwise, the range of the signal must be [0.0|6.0] rather than [0.0|3.0].
2023-03-28 00:34:17 -07:00
rusefillc 636a61b6ab
More on Nissan (#746)
* More on Nissan

* Nissan progress

* Nissan progress

* Torque?!

* Nissan progress

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-27 16:19:03 -07:00
Dean Lee 1f0e04f444
libdbc: build both static and shared library (#786) 2023-03-27 16:01:39 -07:00
Willem Melching ee9f7e63b9
dbc.cc: put check for duplicate message name behind flag (#800) 2023-03-27 11:48:45 -07:00
Eric Brown 21b8f28144
GM: Add single pedal mode signals for Bolt EV/EUV (#789) 2023-03-26 17:14:30 -07:00
Dean Lee b79b8f523a
CANParser: pass string by referer (#796) 2023-03-26 17:02:27 -07:00
Shane Smiskol f1479b3562
Toyota: add brake pressed bits (#794)
* add brake pressed sigs

* generate
2023-03-24 17:37:37 -07:00
Jason Young b7d4a6e271
VW PQ: Misc corrections in ACC_GRA_Anzeige (#792) 2023-03-13 14:12:51 -07:00
Jason Young ef06eab33b
VW PQ: Corrected scaling/offsets in Motor_Bremse (#790)
VW PQ: Corrected brake command scaling
2023-03-13 13:16:53 -07:00
Jason Young 21c42e0ba3
VW PQ: Corrected scaling/offsets in ACC_System (#791)
* VW PQ: Corrected scaling/offsets in ACC_System

* add values
2023-03-13 13:16:38 -07:00
Shane Smiskol 21457f0b46
CANParser: ts_nanos test (#785)
* ts_nanos tests

* check set is length 1

* same style as below
2023-02-20 15:19:05 -08:00
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
Shane Smiskol d103b156b3
CANParser: add timestamp field (#779)
* add timestamp back, logMonoTime

* rename ts_nanos
2023-02-07 23:00:22 -08:00
Cameron Clough 0b7439f551
Ford: rename TrnRng_D_RqGsm Sport value (#778) 2023-02-02 20:05:52 -08:00
Louie Lu 1d898ebfb2
Mazda: add MRCC vehicle ahead distance on gauge (#771) 2023-01-22 13:19:21 -08:00
Jason Wen 2a186eca25
HKG CAN-FD: Second alternate GEAR message (#768)
* Second alternate GEAR message

* Wrong bits!

* 32 bytes
2023-01-11 22:26:08 -08:00
Shane Smiskol bd3ce2d48c
HKG CAN-FD: Rename reversing signal in BLINDSPOTS_FRONT_CORNER_1 (#770)
Update hyundai_canfd.dbc
2023-01-10 21:18:16 -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 d585a9bf29
Hyundai CAN-FD: SCC upper jerk limit signal (#775)
upper jerk
2023-01-02 16:10:04 -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
Louie Lu 28f78f3d9f
Mazda: Add vehicle acceleration of x and y axis (NED) (#767) 2023-01-01 16:09:34 -08:00
Adeeb Shihadeh 06a3e7db6f
add cpplint (#773)
* add cpplint

* passes

* bump cereal

* here's a real hash
2022-12-31 16:49:26 -08:00
Shane Smiskol e8e97fcf00
Bump pylint to 2.15.4 (#765)
bump
2022-12-15 15:19:11 -08:00
Shane Smiskol 119f3f6b0b
Bump pylint version (#764)
bump pylint
2022-12-15 13:16:57 -08:00
Shane Smiskol 4a7ad636ff
HKG CAN-FD: add brake error signal (#762)
* add brake errors

* rename and add comment

* fix
2022-12-12 23:04:12 -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 2b67e4c78a.

Revert "fix comments"

This reverts commit 7f95fd2cc9.

Revert "si"

This reverts commit f058760d3b.

* 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 4ffd0f27db.

* minimal changes

* run generator
2022-12-08 20:35:26 -08:00