Commit Graph

1179 Commits

Author SHA1 Message Date
Adeeb Shihadeh bfc49701fd minimal build 2023-08-24 14:35:56 -07:00
Adeeb Shihadeh a30a6775a5 bump cereal 2023-08-24 14:14:31 -07:00
Justin Newberry 8866722bec
Subaru: move infotainment up (#924)
move infotainment up
2023-08-24 14:08:45 -07:00
Adeeb Shihadeh 23878eecf0 update build flag 2023-08-24 14:04:09 -07:00
Dean Lee bfc03db461
cpplint: more filters (#925)
more filters
2023-08-24 11:32:13 -07:00
Adeeb Shihadeh d3ac9403bd
pre-commit: autoupdate hooks (#922)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-22 10:40:12 -07:00
Aaron Logan 12dd7675c5
VW PQ: AWV_only signal fix (#921)
* VW PQ: AWV_only signal fix

AVW_only signal length is 1 (not 4)

* Update vw_golf_mk4.dbc

Indeed. Thanks!

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-08-20 11:53:28 +01:00
Jason Wen 9a743d5081
Hyundai CAN-FD: Alternate LKAS and BLINKERS signals (#892)
* Hyundai CAN-FD: new steering message

* bruh

* new blinker signals for 2nd Gen Kona

* add comment

* speed isn't on kona

* update comment

* update blinkers

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-18 14:02:27 -07:00
Justin Newberry 8841565808
Subaru: more dbc updates for long (#859)
add set speed and low speed follow
2023-08-17 13:37:40 -07:00
martinl e565b56a3a
Subaru: Remove unrelated bit from transmission RPM signal (#918)
* Remove unrelated bit from transmission RPM signal

* run generator
2023-08-17 13:30:40 -07:00
Justin Newberry ded4c83043
Subaru: added static and hba signals (#920)
added static signals
2023-08-17 01:31:22 -07:00
Shane Smiskol adc4d32240
Hyundai CAN FD: fix wheel speed units (#919)
kph
2023-08-16 23:09:58 -07:00
Adeeb Shihadeh f58456225f
pre-commit: autoupdate hooks (#917)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-15 10:29:18 -07:00
Justin Newberry 98c2b11378
Ruff: propogate config from OP (#916) 2023-08-14 12:52:47 -07:00
Adeeb Shihadeh a1582f5e28
CANParser: parse all signals for given messages (#828)
* CANParser: parse all signals for a message

* update tests

* just use a pair

* rm enforce checks

* rm that

* spacing

* fix nonexistent message test

* message addr check should not have been deleted

* can be cleaned up more

* remove that too

* add comment back

* revert default bus behavior

revert default bus behavior

* can combine this loop

* unused map

* add all

* ensure we track all signals

* remove sanity check

* this wasn't tested before

* Revert "this wasn't tested before"

This reverts commit eb5e9209ebfeeb9a8856305d00ea6f6fcb4efbad.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-10 18:49:14 -07:00
Kacper Rączy df9c11ddc1
parser: update_strings propagate cpp exceptions in py bindings (#912)
* Propagate cpp exceptions to py

* Add a test case

* Update can/tests/test_dbc_exceptions.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-10 13:03:55 -07:00
Jason Wen 129e728298
Toyota: Follow distance signal for unsupported DSU cars (#915)
* Toyota: add follow distance signal for unsupported DSU cars

* Update with generator
2023-08-09 13:23:25 -07:00
Irene 3ef5cc8e79
Toyota: rename ACC_HUD to PCS_HUD (#905)
* Toyota: rename ACC_HUD to PCS_HUD

* run generator

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-08 15:23:06 -07:00
Adeeb Shihadeh 7d61776e2b disable parser perf test for now 2023-08-08 11:15:16 -07:00
Justin Newberry 4b44eb6c3c
CI: Pylint to ruff (#911) 2023-08-07 15:26:46 -07:00
Shane Smiskol 46b59dd99e 'test_dbc_parser: ensure we're running on real DBCs'
Split from https://github.com/commaai/opendbc/pull/828
2023-08-05 00:03:47 -07:00
MonsterPerformance 5b80c0cb28
Hyundai SantaFe CM and Opel Omega B databases added (#910)
* Hyundai: SantaFe CM database

* Opel: Omega B database
2023-08-04 23:39:43 -07:00
Adeeb Shihadeh 7d23b4c01b pre-commit: autoupdate hooks #908 2023-08-01 11:18:44 -07:00
Justin Newberry 5880fbbccf
Subaru: ALT LKAS request is actually angle (#904)
alt is angle
2023-07-19 23:02:42 -07:00
Maxime Desroches 4231b0f12d
Update cython (#903)
* cython

* ref

* test

* Werror
2023-07-18 14:06:53 -07:00
Shane Smiskol 3ef35ed229
Revert "CANPacker: refactor to avoid undefined signals (#891)" (#899)
This reverts commit 3a0083b41e.
2023-07-17 22:17:11 -07:00
Justin Newberry 1c43e1cbd6
CI: Fix panda CI by not upgrading Cython (#898)
* runtime error remove

* cython 3.0.0 breaks panda

* dont change that
2023-07-17 20:52:16 -07:00
Cameron Clough b03468a714
packer: import stdexcept (#897) 2023-07-14 16:48:22 +01:00
Dean Lee 3a0083b41e
CANPacker: refactor to avoid undefined signals (#891)
* refactor to avoid undefined signals

* add non-zero offset check

* Revert "add non-zero offset check"

This reverts commit bc0bb60f4fdd8ffdca7197ff6dbd3cb50b857c30.

* clean up

* use underscores, we haven't standardized one or the other yet

* use message name

* test it works

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-07-14 04:41:27 -07:00
Shane Smiskol 2e54e4d4f2
CANPacker: don't track size (#895)
clean up
2023-07-14 03:47:25 -07:00
Shane Smiskol f45946fecb
test parser: cleanup test (#894)
* test

* Revert "test"

This reverts commit 406505313cfd6f45569a99fd9546475cb8f65179.

* no partial
2023-07-13 21:59:14 -07:00
Justin Newberry 5beef54494
Subaru: more steering messages (#893) 2023-07-13 19:40:01 -07:00
martinl 236359cf63
Add Subaru Global 2022 DBC (#758)
* Add Subaru Global 2022 DBC

* Rename SET_1 to LKAS_Request

* mostly repeated signals, combined those

* PR cleanup

* move to existing dbc

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2023-07-12 16:07:45 -07:00
junhee Ahn e498d01214
HYUNDAI: update speed camera signal (#890) 2023-07-07 03:09:22 -07:00
Shane Smiskol fe8d535a7f
CANDefine: test all DBCs (#888)
* change addr for ioniq 6

* add new msg

* a test for this

* add to test_dbc_exceptions

* cmt

* fix
2023-07-07 01:09:24 -07:00
Shane Smiskol 33940105be
tests: global constants (#889)
small clean up
2023-07-07 01:02:12 -07:00
Shane Smiskol b38a74af81
Toyota: update LTA comment for SETME_X1 (#887)
* update comment, slightly more accurate

* EPS still accepts it though
2023-07-06 16:42:50 -07:00
Shane Smiskol 75253095dc
Toyota: add LTA comment for SETME_X1 (#885)
add comment
2023-07-06 13:36:31 -07:00
Shane Smiskol 2886a193ec
Toyota: add comment for LTA signal (#876)
* add comment

* more complete comment

* gen

* but

* add val for cabana
2023-07-06 01:05:45 -07:00
Shane Smiskol ff445c412f
Toyota: update LTA comments (#881)
* add/update comments

* generate
2023-07-05 21:25:09 -07:00
Shane Smiskol 53716e8466
Toyota: update an LTA signal name (#879)
* add temporarily

* add a comment

* think this is what it shows, but exact text doesn't matter
2023-07-05 20:15:59 -07:00
Shane Smiskol 6430f4c3b6
Toyota: add LTA related message from camera (#880)
* add msg and comments

* rename and mark FCM (camera)

* update range

* run generator

* isbe
2023-07-05 20:03:58 -07:00
Shane Smiskol 15e4ae8d48
Toyota: add auto high beam message from camera (#878)
* add msg

* rename

* generate
2023-07-05 19:28:14 -07:00
Dean Lee 008104f940
CANParser: check if signals exist (#870)
* check if signals exist

* add failing test

* better args and test msg in checks

* also need to check message addrs

* fix up new_msg

* consistent

* check signals if msg addresses are used

* cleanup

* cleanup

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-07-01 02:04:33 -07:00
Shane Smiskol ecd0613872
tests: rename CAN Parser performance test file (#872)
rename
2023-07-01 01:41:22 -07:00
godoppl 5f27703db0
Add ISG state to HK generic (#860)
* Add ISG state to HK generic

* Move values to VAL_ row

* move comment

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-30 22:41:29 -07:00
Adeeb Shihadeh f22aff9f6e
bump to python 3.11.4 (#865)
* bump to python 3.11.4

* Update requirements.txt

* fix

* req

* fixfix

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-06-30 17:35:57 -07:00
Adeeb Shihadeh 915a97f722
pre-commit: autoupdate hooks (#866)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-06-30 17:34:53 -07:00
Shane Smiskol 7a760a130a
CANParser: test missing messages in DBC (#871)
test
2023-06-30 15:29:46 -07:00
Irene Cheng Chi e51a78721d
Toyota: fix length and description of LDA messages (#868) 2023-06-30 13:27:13 -07:00