Commit Graph

664 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 7ef41084be Add gas/brake message for hyundai EVs, from @TK211X 2020-05-21 16:40:29 -07:00
martinl 472aabb4fb
Subaru preglobal update (#260)
* Add Subaru preglobal Gear values

* Update subaru global checksum matching

* fix Steer_Torque_Sensor range

* Add Units signals

* Add preglobal Forester DBC

* Removed unknown signals and reordered known signals

* Units values syntax fix

* Remove whitespace
2020-05-21 10:13:22 -07:00
Willem Melching 45c0d9ecce
fix lta message (#262) 2020-05-13 18:28:34 -07:00
Willem Melching 11343c1086
Library cleanup (#261)
* library cleanup

* actually run install command

* Installing ubuntu capnproto is useless

* use ubuntu capnp
2020-05-12 18:50:31 -07:00
Adeeb Shihadeh 67d70cb86c Fix Toyota message size 2020-05-10 23:05:57 -07:00
Adeeb Shihadeh f1e69a6cf9 Fix wrong message size in Chrysler 2020-05-08 23:13:04 -07:00
Adeeb Shihadeh 54482cfb04 Fix GM message signal sizes 2020-05-08 22:06:51 -07:00
Adeeb Shihadeh 4e796e06dd Fix wrong message sizes in Nissan 2020-05-08 20:54:26 -07:00
Jafar Al-Gharaibeh fb6c1ee2b4
Better GEAR signal tracking the gear stick rather than the gear box (#257)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-05-02 22:52:12 -07:00
Jafar Al-Gharaibeh d7a2efbbdd
Raw angle signal data for easy checksum calc, and one less gear bit (#254)
* LKAS_ANGLE is STEERING_ANGLE, adjust scaling/offset for easy use

* one less bit fort the GEAR signal

* Add GEAR positions to allow automatic parsing in OP

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-05-01 11:29:32 -07:00
Adeeb Shihadeh 7456061a71 add checksum check to can parser for subaru 2020-04-30 14:17:07 -07:00
Adeeb 7f3b1774dd
Chrysler: calculate checksum in can packer/parser (#255)
* calculate chrysler checksum in can packer/parser

* remove comment
2020-04-30 14:06:26 -07:00
Chris Souers 0c0215516f
Rename BYTE_ to SET_ME_X (#253) 2020-04-29 13:51:10 -07:00
Chris Souers 1efe437cf9
Add values for a static 0xe5 (honda bosch) (#250) 2020-04-27 15:06:43 -07:00
cowanhmoore 7dffe0bd97
Create DBC for HRV (#248)
* Create honda_hrv_touring_2019_can.dbc

Updating the DBC for Honda HRV

* Update honda_hrv_touring_2019_can.dbc

* Create honda_hrv_touring_2019_can_generated.dbc

Found hrv door code in the scm codes of the Odyssey_CHN.dbc
2020-04-20 13:18:05 -07:00