Commit Graph

649 Commits

Author SHA1 Message Date
Greg Hogan d799361320
hyundai: update LFAHDA_MFC for HDA (#338)
* update LFAHDA_MFC

* added LFAHDA_MFC value definitions

* add semicolons
2021-01-06 11:26:44 -08:00
Willem Melching ab0095dcf7 static library doesnt work due to constructor hacks 2021-01-05 13:40:13 +01:00
Willem Melching ecb1d137c6 fix parser/packer python build dependency 2021-01-05 13:06:07 +01:00
Nelson Chen 583bbd50c3
Add Toyota Odometer Reading to Toyota DBCs (#331)
The unit is dependent on unit setting.

PS: Cabana currently doesn't parse the last comment's terminator correctly.
2021-01-04 18:45:38 +01:00
vanillagorillaa 2e1d216167
Pacifica: Add cruise state indicator (#332)
* Pacifica: Add cruise state indicator

* Pacifica: Missing ;
2021-01-04 14:04:49 +01:00
Igor b173609029
Added CRUISE_STATE value 11 description (timer_3sec) (#328)
* Added CRUISE_STATE value 11 description (timer_3sec)

* Added same description to Lexus .dbc files

* Added statuses 9 and 10 description for setting cruise speed higher and lower

* Added comment for edited signal
2020-12-23 22:04:28 -08:00
Greg Hogan a6d499c4d2
Honda - steer down to zero (#317)
* accord steer at any speed bit

* update 2020 bosch dbc
2020-12-19 17:10:54 -08:00
Greg Hogan 12932b36a0
fix LKAS12 CF_Lkas_Daw_USM (#318) 2020-12-19 15:49:01 -08:00
Greg Hogan ff04e1ee30
fix hyundai 366_EMS (#319) 2020-12-19 15:47:03 -08:00
Ryan Rowe aaeb2f465c
Fix non-standard units in GM global A lowspeed (#327)
Replaces ms arc with mas and ltrs with liters
2020-12-19 15:45:56 -08:00
Igor b9105fa676
Fix duplicate signal names inside one message (#325) 2020-12-03 13:55:45 -08:00
Greg Hogan 47f1517d73
hyundai esp12 checksum and counter were flipped (#320) 2020-12-03 13:37:07 -08:00
Igor d5cc60c8fc
Fix comments syntax (#324) 2020-12-03 13:35:07 -08:00
Adeeb Shihadeh 652348a3be
fix generator test and linter (#323)
* fix generator test

* generator cleanup
2020-12-03 13:07:09 -08:00
Shane Smiskol fe85e93c0e
Add ZSS signal (#322)
* Add ZSS signal and run generator

* add info. "is this a comment?"

* run generator

* forgot ;!

* run generator

* Is this correct?

* less mean to old sensors
2020-12-02 21:22:11 -08:00
grekiki 699dc63a88
Scons cython builder (#316)
* migrate to home pc

* style

* this works

* this is hacky

* why doesn't this work

* this should work

* no lint

* link against libdbc wtih abs path

* new env

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-11-26 16:11:23 -08:00
Adeeb Shihadeh c072d9e8df remove redundant linter checks 2020-11-26 11:36:10 -08:00
Adeeb Shihadeh 244e8807df
ubuntu 16.04 -> 20.04 (#309) 2020-10-29 13:53:48 -07:00
Adeeb Shihadeh bfa00b535a fix pycapnp 2020-10-29 13:04:23 -07:00
Adeeb Shihadeh 34416de087
Lexus NX300 (#313) 2020-10-27 17:31:44 -07:00
Willem Melching 25dc12a87b
c++17 (#305) 2020-10-17 12:41:35 -07:00
TK211X 9cf6972064
Date and Time (#306) 2020-10-17 12:41:22 -07:00
Chris Souers a14baf5553
Add 2020 Acura RDX (#290) 2020-10-11 13:26:23 -07:00
Chris Souers 691dab5482
CIVIC_BOSCH needs an empty nidec brake command frame for long control. (#246) 2020-10-05 11:36:40 +02:00
danielzmod 209d968b75
Volvo DBC files for C1MCA and EUCD platform (#291)
* Create V40.dbc

Added V40 dbc

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Cruise control buttons added

* CC buttons update

* OpenDBC updates

* Deciphered most important part of LKA message

* OpenDBC updates

* Steering angle from DBC scaling update

* OpenDBC updates

* OpenDBC updates

* Update V40.dbc

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Added volvo v40

* Deleted V40.dbc

* OpenDBC updates gear mode

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Firstupdate

* OpenDBC updates

* Accelerator Pedal

* Brake pedal

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Added messages from camera

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Fix typo in volvo v40 dbc

* Renamed v60 dbc

* OpenDBC updates

* Updated fromFSM messages from new input

* Added CCButtons V60

* OpenDBC updates

* OpenDBC updates

* Finetuned dbc files volvo

v60 fromServo1 SteeringAngle scaling update

Wheelspeeds

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

* OpenDBC updates

* Harmonize volvo dbc

* Update naming on FSM V40

OpenDBC updates

diagmsgadded

Added diagnostic addresses for v60

Add diag v40 v60

Tested and working diagnostic request. Flowcontrol not tested.

* V40 updated with information by sender. V40 & V60 diagnostic ids fixexd

* Create V40.dbc

Added V40 dbc

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Cruise control buttons added

* CC buttons update

* OpenDBC updates

* Deciphered most important part of LKA message

* OpenDBC updates

* Steering angle from DBC scaling update

* OpenDBC updates

* Update V40.dbc

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Added volvo v40

* Deleted V40.dbc

* OpenDBC updates gear mode

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Firstupdate

* OpenDBC updates

* Brake pedal

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Added messages from camera

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Fix typo in volvo v40 dbc

* Renamed v60 dbc

* OpenDBC updates

* Updated fromFSM messages from new input

* Added CCButtons V60

* OpenDBC updates

* OpenDBC updates

* Finetuned dbc files volvo

v60 fromServo1 SteeringAngle scaling update

Wheelspeeds

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

OpenDBC updates

* OpenDBC updates

* Harmonize volvo dbc

* Update naming on FSM V40

OpenDBC updates

diagmsgadded

Added diagnostic addresses for v60

Add diag v40 v60

Tested and working diagnostic request. Flowcontrol not tested.

* V40 updated with information by sender. V40 & V60 diagnostic ids fixexd

* Corrected diag byte response

* CEM and PSCM diag request had mixed up addresses.

* Add static fields to lka steering request v60.

* FsmSteerRequest update

* Updated scaling on SteeringAngle signals for v40 after new test.

* OpenDBC updates

* Update V40 to support fix in dtc set on FSM

* PSCM Servo1 v60 update

* OpenDBC updates

* Updated Volvo DBCs, renaming some signals

* Updated volvo v40

* Updated volvo v40 with CVM message

* diagCVM and v60 PSCM messages

* Rename lka signal, add global request for diagnostic.

* Renamed and updated steeringwheelangle

* Fix scaling bug v40

* Add readback signals of CCbuttons from ECM

* OpenDBC updates

* OpenDBC updates

* OpenDBC updates

* Seatbelt Driver

* OpenDBC updates

* Seatbelt updates

* Sorted in numerical order

Co-authored-by: Comma Device <device@comma.ai>
2020-09-29 12:00:26 -07:00
vanillagorillaa fb90ff7a46
Fix all typos in opendbc (#299) 2020-09-29 11:59:26 -07:00
Shane Smiskol e4c1664e5a
Tune 17 Corolla safetyParam (#298) 2020-09-16 11:40:35 +02:00
grekiki ccd7d3e438
Fix 222 (#296)
* Added exceptions to packer and parser

* added exception tests

* improve style

* linter is annoying

* static analysis fix

* static analysis fix2

* static analysis fix3

* clean up the code

* update exceptions

* style1

* style2
2020-09-10 15:01:34 +02:00
Willem Melching 42e105ec1c fix mac build 2020-09-09 17:40:14 +02:00
roxasthenobody98 525387e1ad
Ford: Add new base DBC. (#287)
* add base pt dbc

* add apa values

* remove non existent value
2020-09-08 15:24:49 -07:00
xps-genesis b7cf1a67bc
Update hyundai_kia_generic.dbc (#284)
* Update hyundai_kia_generic.dbc

New DBC from @TK211X merged HKG_WIP_V2_203107122020.dbc into

* Update hyundai_kia_generic.dbc

remove ascii char

* remove elect gear double message

* 1157 duplicate

* EV_PC5 order change

* Update hyundai_kia_generic.dbc

* Update hyundai_kia_generic.dbc

* Update hyundai_kia_generic.dbc

* Update hyundai_kia_generic.dbc

* update byte order and label

* Update hyundai_kia_generic.dbc

* revert EV msgs

It is noted that the MY18 Ioniq hybrid uses different message structure. This message structure is different newer Model year vehicles. So no change is required for EV messages
2020-08-02 15:03:11 -07:00
Adeeb Shihadeh a59f03c179 cleanup parser_pyx 2020-08-02 13:02:07 -07:00
Adeeb Shihadeh 3ba0a7f1e2 parallel cythonize extension build 2020-08-02 13:01:37 -07:00
Adeeb Shihadeh c50d4bf1d5 add packer.cc and parser.cc dependencies on their cython extensions 2020-08-01 23:47:57 -07:00
Alice Knag 02be482f0f
Hyundai: update scc14 (#274)
* add some L-CAN signals and update scc14

scc14 had comfort bands min/max set to zero, OP long can not work without this

* Update hyundai_kia_generic.dbc

* Update hyundai_kia_generic.dbc

* cleanup
2020-07-27 14:32:58 -07:00
Adeeb Shihadeh 943b52a36e
Use generator for Honda Clarity DBC (#289)
* Honda Clarity didn't have generated DBC

* Don't need these since they come from the other file

* need to run the generator too

* small cleanup

* run generator

Co-authored-by: root <root@ubuntu.attlocal.net>
Co-authored-by: vanillagorillaa <ntmccoy@yahoo.com>
2020-07-23 21:16:14 -07:00
martinl efb1e38aec
Subaru DBC update (#277)
* Add Subaru Global 2020 dbc

* Rename duplicate Cruise_Status to Cruise_Status_2

* Unify Subaru Crosstrek 2018 and Subaru Global 2017 dbc

* Add ES_DashState Cruise_On, initial Crosstrek 2020 Hybrid Transmission Gear

* dbc syntax fix

* Add R to gear values

* Add Throttle_Hybrid signal

* Use DBC generator for Subaru Global

* Remove Gear from _subaru_global_2017 template

* Fix packer parser test

* Add Checksum and Counter signals to Throttle_Hybrid

* Add filler signal to Brake_Pedal

* Correct dbc min-max values for subaru global 2017 template

* Correct Subaru global min|max values vol2

* Run generator

* rename _subaru_global_2017.dbc template to _subaru_global.dbc
2020-07-23 11:44:14 -07:00
Greg Hogan 993f0cc650
Honda BSM body (#286)
* 2017 cr-v bsm signals

* separate body dbc
2020-07-21 13:46:54 +02:00
Adeeb Shihadeh 9ee0069ecc rebuild cython extensions when python/cython/distuils change 2020-07-16 13:36:28 -07:00
Adeeb Shihadeh 2265c9c3dc
Build cython extensions in common setup.py (#281)
* build packer and parser with same setup

* fix build

* remove packer setup

* extra compile args
2020-07-08 14:05:16 -07:00
Adeeb Shihadeh 3cfb5c7778
enable -Wunused (#280) 2020-07-08 00:39:35 -07:00
Adeeb Shihadeh 55e9af71fc fix warnings in parser_pyx build 2020-06-29 16:18:45 -07:00
martinl 7cc9219a92
Subaru Outback 2019 (#278)
* Add Subaru Outback 2019

* Add Steer_Warning signal to Steering_Torque
2020-06-29 10:22:08 -07:00
Adeeb Shihadeh 1fd5a9b954 enable -Werror 2020-06-27 17:43:51 -07:00
Adeeb Shihadeh 1dfdce9f69 gitignore scons temp file 2020-06-24 14:25:31 -07:00
Adeeb Shihadeh a71dcc55a4 fix typo 2020-06-24 14:24:01 -07:00
Adeeb Shihadeh 39acdbb022 Hyundai: AEB and FCW signals 2020-06-24 14:01:24 -07:00
Adeeb Shihadeh df1bb08344 update dockerhub token 2020-06-11 16:25:58 -07:00
martinl 076eb51b17
Subaru preglobal DBC update (#270)
* Generated dbc-s for Subaru preglobal

* Remove overlapping ES_LDW Alerts signal, BU_ and Units2 values syntax fix

* Units update for Subaru preglobal

* Remove Units2 values

* Change Steer_Torque_Sensor scaling factor to 1

* Update Steer_Torque_Sensor scaling factor

* Change Forester Steer_Torque_Sensor scaling factor to -1, fixes assisted lane change

* Move comments to applicable DBC files, fix min and max value definitions
2020-06-11 14:21:26 -07:00
Adeeb 3a2918465c
Docker layer caching in CI (#273)
* docker push

* use cached docker image
2020-06-09 11:50:09 -07:00