Commit Graph

679 Commits (spacecruft)

Author SHA1 Message Date
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
Adeeb 559f1934c8
Run cppcheck in CI (#271)
* run cppcheck in CI

* add some new hooks

* clean up Dockerfile
2020-06-08 18:03:33 -07:00
Willem Melching b875f970fc Stricter pylint 2020-06-02 15:14:04 -07:00
cowanhmoore daf3bc988f
HRV correct GAS_PEDAL (#266)
* Update to correct GAS_PEDAL in DBC

Originally referenced GAS_PEDAL_2 , but that was an error.

BO_ 316 GAS_PEDAL matched vehicle

* Update honda_hrv_touring_2019_can_generated.dbc

* Update honda_hrv_touring_2019_can.dbc
2020-06-01 15:26:20 -07:00
Andre Volmensky c25b757ac6
Update X-trail HUD message name, added SPEED_MPH signal (#269) 2020-06-01 14:37:53 -07:00
Adeeb Shihadeh 1f1ff225bd enable almost all flake8 checks 2020-06-01 02:03:03 -07:00
Adeeb Shihadeh 4c59163aa3 two spaces before inline comment 2020-05-31 14:06:11 -07:00
Adeeb Shihadeh e92e74311a whitespace after comma 2020-05-31 12:48:54 -07:00
Adeeb Shihadeh 5d33ec0f18 two spaces before inline comment 2020-05-31 00:56:04 -07:00
Adeeb Shihadeh 73685b609d fix linter complaint about whitespace around operators 2020-05-31 00:33:53 -07:00
Adeeb Shihadeh b15edbc1b5 fix linter complaint about inline comment whitespace 2020-05-30 19:44:56 -07:00
Adeeb Shihadeh 4ac30725b6 clean up blank lines 2020-05-30 04:30:07 -07:00
Willem Melching 0430bfa5c2
run pre commit in ci (#268) 2020-05-28 18:53:42 -07:00
martinl 2ade6eeba8
Subaru DBC update (#242)
* add Transmission and Gear values

* Add ACC Short_Distance

* Add ES_Status:Cruise_Hold

* OpenDBC updates

* update ES_Distance Throttle_Cruise, add Outback initial gears

* change ES_Distance Throttle_Cruise comment

* Update ES_Distance and ES_Status signal names

* Fix signals order

* Add ES_Status filler signals

* Fix ES_Status signal order

* New and updated Brake signals

* Reorder brake signals

* Update CruiseControl with filler signals

* Add Conventional Cruise

* Add Cruise_Status, Brake_Status signals

* Update ES_DashStatus

* Reorder ES_DashStatus signals

* ES_Brake Status signals updates

* Reorder changed signals

* Reorder Dashlights, add Counter

* Remove unknown messages and signals

* Add latest signals and messages updates from longitudinal branch

* Fix Throttle_Combo overlap

* Update EPB comment
2020-05-28 12:46:50 -07:00
Nelson Chen d1185a53e5
Toyota ACC_CONTROL PERMIT_BRAKING and ACCEL_CMT_ALT speculated definition (#258)
* Toyota ACC_CONTROL's ACCEL_CMD_ALT (or AT_RAW)

* Toyota ACC_CONTROL's PERMIT_BRAKING (or PMTBRKG)
2020-05-28 11:49:18 -07:00
TK211X e6766bbbb2
Update SCC ECU Messages for OP Long Dev. (#267)
Values now updated for 2020 Sonata - Older vehicles use MIN/MAX (Name Change) + Jerklimit/ComfortBand Offset (Offset Change)
2020-05-28 10:41:16 -07:00
TK211X b49b9ee75c
Add DAW (#175)
* Add DAW

Found Driver Attention Warning

* fix endianness

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-05-26 22:43:16 -07:00
streber42 3b5cccba05
Fixed up cell voltage readings and added more commands (#220)
* Added High Voltage Management to powertrain file.

* Removed non high voltage items.
Added units.

* Fixed up cell voltages to be right.
Trying to decipher the rest of Pack_stats, charger_stats.
Added Charger command and parameters, Coolant_temp, AC_stats (needs scaling),
some unknown message that is either connection or charging indicator.

* Add messages for Chevy Volt APM 14V Power Modules on the Powertrain
expansion bus

* Add pack_current signal to BECM

* remove trailing whtiespace
2020-05-26 22:36:56 -07:00
Jafar Al-Gharaibeh 8b04493278
Mazda: add missing static bits, tidy up endianness (#263)
* Add missing "unused" bits

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

* fix min/max

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

* This DBC file has been tested with CX5, CX9, and Mazda6

  So far good with 2017-2020 models

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-05-26 21:58:10 -07:00
martinl 124719992d
Add BSD_RCTA to Subaru Global (#244) 2020-05-24 08:49:15 -07:00
Adeeb Shihadeh af1821f84e fix endianness in signal from new hyundai message 2020-05-21 17:00:43 -07:00