Commit Graph

588 Commits

Author SHA1 Message Date
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
Willem Melching b69398525a Add LFAHDA message to hyundai 2020-04-15 15:42:51 -07:00
Adeeb a57e7ddbd7
CANPacker: Subaru checksum support (#241)
* subaru global: use standard checksum signal naming convention

* subaru checksum

* ignore first byte

* update other subaru dbcs

* revert outback changes, checksum is in a different byte
2020-04-13 15:06:28 -07:00
martinl 36c471e59e
Fixed signals order and added new signals for subaru global (#221)
* update ES_DashStatus, add ES_Fault

* add Transmission and Gear values

* add ACC_State

* normalize ACC/ES signal prefix to Cruise

* fix ES_Status order, ACC buttons naming

* fix BodyInfo signals ordering, add Wipers

* Brake Pedal update

* ES_Brake update

* Throttle updates

* ES_Distance updates

* ES_Distance updates

* reorder signals

* rename Lead_Vehicle_Start_Alert

* Add ACC Short_Distance

* move Short_Distance

* Fill BodyInfo

* Update ES_Distance

* Brake_Pedal signal fix

* Update ES_Distance and BodyInfo

* Update Brake_Pedal

* ES_Distance Signal1 size fix

* Update ES_Brake

* Add STOP_START

* add Cruise_State values

* Add ES_Status:Cruise_Hold

* Add ES_DashStatus PCB off and LDW off

* Add STOP_START

* Reorder ES_DashStatus

* Add Icy Road Warning
2020-04-06 12:11:52 -07:00
dzid26 7b5a1fcc14
BMW 2008-2013 (#230)
* 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
2020-04-02 12:26:06 -07:00
Arne Schwarck cc09af7639
Add RPM signal (#216)
* Add RPM signal

Thanks @Hubblesphere

* run generator for engine rpm
2020-04-02 12:24:58 -07:00
Jason Young 47db9238f4
Add SWA_01 message detail and CRC support for VW MQB (#236)
* Add canonical SWA_01 message and signal info

* SWA_01 CRC validation

* Decimal to int, to match the rest of the file
2020-04-02 12:23:05 -07:00
Andre Volmensky c98fe2ab9d
Fixed signal unknown1 overlapping the button bits (#239)
* Fixed signal unknown1 overlapping the button bits

* Change speed scaling to 0.005 to keep it consistant with the leaf
2020-03-29 12:47:49 -07:00
Jafar Al-Gharaibeh 572261ee36 Rear Cross Traffic Alert
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-03-28 12:14:34 -07:00
Jafar Al-Gharaibeh 044730aeb0 Speed limit signs
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-03-28 12:14:34 -07:00
Jafar Al-Gharaibeh 87b1a21fb5 Pedals/gear, gas pedal scale value
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-03-28 12:14:34 -07:00
Jafar Al-Gharaibeh ce78044d8f Tracking the steer angle with LKAS signal
This signal seems to exist on some cars. It was reported on a
2017 CX-9 in Australia.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-03-28 12:14:34 -07:00
Jafar Al-Gharaibeh 7f19ab415d Introduce the new mazda 3 2019/2020 dbc
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-03-28 12:14:34 -07:00
Jafar Al-Gharaibeh e58520619c traffic sign speed limit
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-03-28 12:14:34 -07:00
Jafar Al-Gharaibeh 00bad5ee72 Speed
Auto High Beam
Traffic signs

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2020-03-28 12:14:34 -07:00
Willem Melching 9d080ea427
Nissan leaf (#238)
* add leaf dbc

* remove gear shifter define

* add brake pedal

* add cruise available and cruise enabled

* remove PRO_PILOT message and fix brake pedal addr

* Add CRUISE_STATE message to x-trail

* Add doors

* blinkers

* Seatbelt

* ESP, and unlatched -> lateched

* gearbox

* GAS_PEDAL -> CRUISE_THROTTLE

* Add set speed field

* Change wheel speed factor

* add missing seatbelt signals

* Add cancel message

* Fixup cancel signal

* Add LKAS settings
2020-03-27 21:45:31 -07:00
Willem Melching 50fbbe7396
nissan x trail cleanup (#237) 2020-03-25 10:42:50 -07:00
Jason Young a62d5dd847
Add TSK_06 CRC validation for VW MQB (#234)
* Add TSK_06 CRC validation to OP

* Activate TSK_06 CRC/counter checks via signal naming
2020-03-15 20:46:43 -07:00
Andre Volmensky ce723756f7
Fixed up sign on Driver Torque, added unit (#233)
* Fixed up sign on Driver Torque, added unit

* Changed units to Nm

* Fixed offset
2020-03-11 22:12:50 -07:00
Andre Volmensky bd72c72be3
Added ProPilot HUD messages (#231) 2020-03-10 16:46:43 -07:00
Riccardo Biasini f308ca62e3 Subaru: added counter and checksum to brake msg 2020-03-06 18:15:30 -08:00
Jason Young d1f76d609f
Add Motor_20 CRC support (#229) 2020-03-05 19:26:09 -08:00
Willem Melching 6252718a93
Add STEER_ANGLE to all STEER_TORUQE_SENSOR messages (#228)
* Add STEER_ANGLE to all STEER_TORUQE_SENSOR messages

* rav4 hybrid

* sienna
2020-03-05 15:10:31 -08:00
Willem Melching c0b426126c Revert "add angle field in torque sensor message to all cars (#227)"
This reverts commit bd82848c74.
2020-03-05 13:17:33 -08:00
Willem Melching bd82848c74
add angle field in torque sensor message to all cars (#227) 2020-03-05 11:54:43 -08:00
Riccardo Biasini 56f0259dfd Lexus CTH fix: brake pressed is on bit 5 like corolla and rav4 2020-03-04 23:21:46 -08:00
rbiasini 9b6ca31b29
fix: Replicate changes done on _honda_2017.dbc (#225)
After _dual_can_nidec_2018.dbc was created following commits were done on
_honda_2017.dbc
- 0132110 : Reverse engineer AEB in Honda
- 7bb1e33 : honda nidec AEB values
- cb27d6e : Honda Nidec: add new ACC_HUD signals to all other cars…
- fa5dc68 : Fix honda dbc files after steer torque addition
2020-03-04 10:37:31 -08:00