Commit Graph

1098 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 0a7560a2db
pre-commit: autoupdate hooks (#863)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-06-24 15:14:36 -07:00
Justin Newberry f241a87591
Subaru: Signals Cleanup (#862)
cleanup

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-23 21:05:02 +01:00
Shane Smiskol 2eab8d2a1d
Toyota: fix KINEMATICS signal (#864)
fix signal
2023-06-21 02:20:51 -07:00
Cameron Clough aa044ea945
add poetry pyproject required fields 2023-06-18 16:06:42 +01:00
Shane Smiskol e808a1ec3d
Subaru: add AEB related signals (#858)
* rename signal2

* generate

* generate

* add one more def
2023-06-16 16:25:57 -07:00
Jafar Al-Gharaibeh d03ae519e9
Mazda: update BSM signals and add comments (#815)
* Mazda: add comments to BSM signals

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* undo sort since hard to view diff

* two two bit sigs

* bit better

* didn't mean to remove that

---------

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-06-15 20:15:54 -07:00
Shane Smiskol 87b821e0e5
Toyota: add ACC dash alerts (#857)
* add temperature dash alerts

* just spaces

* add dust

* add radar adjust
2023-06-15 02:54:25 -07:00
Cameron Clough 7e1f7d5b7e
setup cython linting (#851) 2023-06-14 15:55:49 +01:00
Shane Smiskol 1d483ad98e
Toyota: fix and add some PCM signals (#856)
* fix signal factor and fix signal name

fix signal

* add comments and another sig

* comment
2023-06-14 02:32:56 -07:00
majbthrd d2b4c7cc65
Mazda: add RX-8 (#849) 2023-06-09 13:52:35 -07:00
Shane Smiskol 9ae9fbfe56 hyundai_canfd: fix signal range 2023-06-02 15:22:08 -07:00
Shane Smiskol 13185e52e9 hyundai_canfd: add moving forward/backward bits 2023-06-02 15:21:25 -07:00
Shane Smiskol ae0d02ce2c
parser: fix wrong message name check/print (#846)
* can do this

* or just this

* rm
2023-05-30 16:05:08 -07:00
Kacper Rączy bffa93d782
dbc: add missing include for setlocale (#845) 2023-05-29 20:49:15 -07:00
vanillagorillaa 49b31858a3
Nissan: common DBC (#841)
* initial nissan cleanup

* this is also common

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-27 22:25:33 -07:00
Aaron Logan c8615e8ee4
VW PQ: EPB_1 sort and VAL table (#838)
EPB_1 sort and VAL table
2023-05-27 19:12:17 -07:00
dzid26 c6da67d26d
BMW dbc improvements (#831)
* Initial test commit

Throttle and steering wheel sensors for K-CAN

* Update BMW E-series

* Rename BMW E-series to BMW E-series K+CAN

* OpenDBC updates

* Added brake pedal pressed

* Cruise control commands

* Delete BMW E-series K+CAN

Replaced with dbc file generated by cabana

* Update BMW E-series K+CAN.dbc

Fixed names

* brake depress flag

* Fixes after cabana broke it

* Fixed names. 

Fixed names. Removed space

* Removed module names due to bug/conflict?

One module name left XXX

* Fixed many DBC syntax issues

Removed illegal characters
Removed spaces

* SteeringButtons

* Rename BMW E-series K+CAN.dbc to BMW E-series CAN.dbc

* Cruise counters set to Big endian

* Added bunch of unknown messages

* cruiseControlStatus

* cruise speed scaling

* Added some cruise statuses

* Corrected to throttle

* Updated pedal statuses

* Cruise control

Added cruise control signals

* Dynamic cruise control vehicle option has different can messages

* Added can messages from SZL

* Removed spaces

* Other can messages

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Steering wheel sensor DSC

* BMW dbc copied from OpenDBC repository https://github.com/dzid26/opendbc-BMW-E8x-E9x/

* Steering Wheel angle and wheels speed

* acc pedal

* size set to 7

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Delete BMW E-series CAN dev.dbc

* OpenDBC updates

* OpenDBC updates

* Corrected cruise control pedal pressed vs driver pedal pressed

* OpenDBC updates

* Speed scaling

* unit

* Added F-CAN missing signals - unknown

* Added unknown messages

* OpenDBC updates

* another wheel position - active all the time

* OpenDBC updates

* OpenDBC updates

* Added units; fixed steering speed signal in 0xc4

* OpenDBC updates

* OpenDBC updates

* message size

* Added motor controller CAN message

* Added kph factor to WheelSpeeds from DSC

* Added (invented) OpenPilot request message

* Improved OpenActuator packing

* Removed openSteering messages.
Added gear enums and cruise +5/-5
Renames...

* wiper button

* Added blinkers

* Added lateral and longitudal accelerometers and battery voltage

* Added engine torque

* Added dynamic cruise control torque request signal

* Added ignition terminal states

* OpenDBC updates

* Added GearSelector postion signals inspired by https://www.spoolstreet.com/threads/gs7-program-code-disassembly-project.6045/post-93145

* Added PRND states. Confirmed with https://bmw.spoolstreet.com/threads/gs7-program-code-disassembly-project.6045/post-94403

* Updated ShiftLeverPosition to bit-wise for readability. Added enumeration.

* Added some counter signals

* OpenDBC updates

* Added BMW CANbus overview.

* correction

* Update README.md

* Added Ignition ON, modified steering ratio factor

* Added accelerators and checksum signals in Speed message

* Another acceleration and gyro

* More precise steering factor

* Speed message cleanup

* Added traction control off button message

* Added sender nodes and improved message names

* Added messages from other BMW models

* Added few target nodes

* Added torque factors

* Added DSC statuses

* Tentatively added MDM status signal

* Counters are not cheksums. Checksums and counters revised. SteeringWheelAngle_DSC name reverted!

* Endianness consistency.

* Initial version of actuator dbc. Scalings represent my system gear ratios. See derivation in signal decriptions.

* Transmisssion signals

* Handbrke, units, scaling fixes

* Labeled wheel speeds

* Bmw eXX: filling some gaps (#662)

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
(cherry picked from commit 5c5fc14cbc)
Fixed Counter_464 byte order
2023-05-27 16:35:34 -07:00
Kyle Dibble-Dabney 2db0483993
EV6 dbc updates (#835)
* Update EV6 DBC Messages

* Update EV6 DBC Values
2023-05-27 16:30:19 -07:00
AlexandreSato 01fa913b72
Honda: add alt gears for Thai HR-V hybrid (#814)
* add alt gears for Thai HR-V hybrid

* add generator file

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-25 23:28:32 -07:00
rusefillc e707cbfc73
vw_golf_mk4: a bit of progress (#698)
* vw_golf_mk4: a bit of progress

* weeeeell

* vw_golf_mk4: a bit of progress

* vw_golf_mk4: a bit of progress

* vw_golf_mk4: a bit of progress

* vw_golf_mk4: a bit of progress

* vw_golf_mk4: a bit of progress

* Shift Intent

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-05-25 15:23:03 -07:00
Dean Lee 3ba8e77bd4
dbc: force C locale for numbers. (#839) 2023-05-23 22:03:19 -07:00
Aaron Logan 7e3b518d33
VW PQ: added AWV (AEB) signals (#824)
* Added AWV (AEB) signals

* AWV message length: 8

* AWV message cleanup and VAL table added

* Sort AWV

* update VAL table for AWV

More German stuff
2023-05-19 18:52:58 -07:00
Adeeb Shihadeh 98a700dce5
pre-commit: autoupdate hooks (#836)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-05-16 11:49:57 -07:00
Shane Smiskol f12052306e
Nissan: correct angle signal ranges (#830)
correct signal ranges
2023-05-01 17:17:42 -07:00
Shane Smiskol 23b83b51e3
Toyota: add comment for CLUTCH->ACC_FAULTED (#829)
add comment
2023-04-24 17:29:04 -07:00
Dean Lee 8faada0494
refactor CANParser to improve performance (#795)
* reduce the const of copying signal values in CANParser::query_latest

* pass by reference

* use for range loop

* update_strings

* use assign

* track all signals

* use iterator & pointer to avoid copy SignalValue from vector

* use normal dict for vl_all

* update tests

* fix error in merge master

* change thresholds

reduce thresholds

* Trigger CI

* Trigger CI

* Trigger CI

* cleanup ctor

* reduce threshold

* revert changes to test_parser.py

* change thresholds

* remove update_string() from cython

* comment out test_performance_one_signal

* reduce thresholds

* test

* update

* update

* revert that for now

* update

* update

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-22 17:54:36 -07:00
Adeeb Shihadeh 5adb62bf04
fix parser perf test (#827) 2023-04-21 13:11:53 -07:00
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