Commit Graph

679 Commits (spacecruft)

Author SHA1 Message Date
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
rbiasini 1bd26d0a6a
Added messages. Cleaned up endianness (#226) 2020-03-04 10:21:05 -08:00
Riccardo Biasini 44b9e74fa3 Revert "Toyota: add checksum to BRAKE_MODULE (#224)"
This reverts commit 8b18c92e2c.
2020-03-03 01:46:57 -08:00
rbiasini 8b18c92e2c
Toyota: add checksum to BRAKE_MODULE (#224) 2020-03-03 01:18:50 -08:00
DisgracedPilot 2bab4d6d78
Add Honda-Bosch lane line detection signals. (#223)
* Add Honda-Bosch lane line detection signals.

* Add generator.py outputs with the new _bosch_2018.dbc file.
2020-03-02 23:20:30 -08:00
Andre Volmensky a1aa3b78f7
Cleanup of Nissan DBC (#218)
* Cleanup of Nissan DBC

* Added user brake pedal/brake light

* Fixed signal endianness
2020-02-24 15:38:10 -08:00
Riccardo Biasini c1f764828e reverting changes to Chrysler: speed message seems different from car to car 2020-02-24 14:54:48 -08:00
Riccardo Biasini 2de8e9e829 Chrysler: Speed msg is 5 bytes 2020-02-24 14:37:55 -08:00
Riccardo Biasini f4ac315edc Chrysler: add counter to 514 2020-02-24 13:27:56 -08:00
Nelson Chen 0fb62cf86e
Toyota Blind Spot Monitor (TSS2-only?) (#219)
* Add TSS2 BSM Monitor Signal

* run generator
2020-02-21 11:01:30 -08:00