From c25ec515734e4e6ae0d289e22613eb90e132f604 Mon Sep 17 00:00:00 2001 From: Vehicle Researcher Date: Sat, 18 Nov 2017 15:22:28 -0800 Subject: [PATCH] Toyota: added brake lights when ACC commands decel --- toyota_prius_2017_pt.dbc | 8 +++++--- toyota_rav4_2017_pt.dbc | 9 ++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/toyota_prius_2017_pt.dbc b/toyota_prius_2017_pt.dbc index 39fd49b..44ae0fa 100644 --- a/toyota_prius_2017_pt.dbc +++ b/toyota_prius_2017_pt.dbc @@ -77,8 +77,8 @@ BO_ 552 ACCELEROMETER: 8 XXX SG_ ACCEL_Z : 22|15@0- (1,0) [0|32767] "" XXX SG_ ACCEL_X : 6|15@0- (0.001,0) [-20|20] "m/s2" XXX -BO_ 560 BRAKE_MODULE2: 8 XXX - SG_ BRAKE_LIGHTS : 26|1@0+ (1,0) [0|1] "" XXX +BO_ 560 BRAKE_MODULE2: 7 XXX + SG_ BRAKE_PRESSED : 26|1@0+ (1,0) [0|1] "" XXX BO_ 581 GAS_PEDAL: 8 XXX SG_ GAS_PEDAL : 23|8@0+ (0.005,0) [0|1] "" XXX @@ -142,6 +142,7 @@ BO_ 921 PCM_CRUISE_SM: 8 XXX BO_ 951 ESP_CONTROL: 8 ESP SG_ TC_DISABLED : 13|1@0+ (1,0) [0|1] "" XXX + SG_ BRAKE_LIGHTS_ACC : 18|1@0+ (1,0) [0|1] "" XXX BO_ 1042 LKAS_HUD: 8 XXX SG_ BARRIERS : 1|2@0+ (1,0) [0|3] "" XXX @@ -170,7 +171,8 @@ CM_ SG_ 36 STEERING_TORQUE "does not seem the steer torque, tbd"; CM_ SG_ 466 ACCEL_NET "net acceleration produced by the system, given ACCEL_CMD, road grade and other factors"; CM_ SG_ 550 BRAKE_PRESSURE "seems prop to pedal force"; CM_ SG_ 550 BRAKE_POSITION "seems proportional to pedal displacement, unclear the max value of 0x1c8"; -CM_ SG_ 560 BRAKE_LIGHTS "double check"; +CM_ SG_ 560 BRAKE_PRESSED "another brake pressed?"; +CM_ SG_ 951 BRAKE_LIGHTS_ACC "brake lights when ACC commands decel"; CM_ SG_ 581 GAS_PEDAL "it seems slightly filtered"; CM_ SG_ 608 STEER_TORQUE_DRIVER "driver torque"; CM_ SG_ 608 STEER_OVERRIDE "set when driver torque exceeds a certain value"; diff --git a/toyota_rav4_2017_pt.dbc b/toyota_rav4_2017_pt.dbc index 84a6745..1203f5c 100644 --- a/toyota_rav4_2017_pt.dbc +++ b/toyota_rav4_2017_pt.dbc @@ -70,8 +70,8 @@ BO_ 552 ACCELEROMETER: 8 XXX SG_ ACCEL_Z : 22|15@0- (1,0) [0|32767] "" XXX SG_ ACCEL_X : 6|15@0- (0.001,0) [-20|20] "m/s2" XXX -BO_ 560 BRAKE_MODULE2: 8 XXX - SG_ BRAKE_LIGHTS : 26|1@0+ (1,0) [0|1] "" XXX +BO_ 560 BRAKE_MODULE2: 7 XXX + SG_ BRAKE_PRESSED : 26|1@0+ (1,0) [0|1] "" XXX BO_ 705 GAS_PEDAL: 8 XXX SG_ GAS_RELEASED : 3|1@0+ (1,0) [0|1] "" XXX @@ -136,6 +136,8 @@ BO_ 921 PCM_CRUISE_SM: 8 XXX BO_ 951 ESP_CONTROL: 8 ESP SG_ TC_DISABLED : 13|1@0+ (1,0) [0|1] "" XXX + SG_ BRAKE_LIGHTS_ACC : 18|1@0+ (1,0) [0|1] "" XXX + BO_ 956 GEAR_PACKET: 8 XXX SG_ GEAR : 13|6@0+ (1,0) [0|63] "" XXX @@ -167,7 +169,8 @@ CM_ SG_ 36 STEERING_TORQUE "does not seem the steer torque, tbd"; CM_ SG_ 466 ACCEL_NET "net acceleration produced by the system, given ACCEL_CMD, road grade and other factors"; CM_ SG_ 550 BRAKE_PRESSURE "seems prop to pedal force"; CM_ SG_ 550 BRAKE_POSITION "seems proportional to pedal displacement, unclear the max value of 0x1c8"; -CM_ SG_ 560 BRAKE_LIGHTS "double check"; +CM_ SG_ 560 BRAKE_PRESSED "another brake press?"; +CM_ SG_ 951 BRAKE_LIGHTS_ACC "brake lights when ACC commands decel"; CM_ SG_ 581 GAS_PEDAL "it seems slightly filtered"; CM_ SG_ 608 STEER_TORQUE_DRIVER "driver torque"; CM_ SG_ 608 STEER_OVERRIDE "set when driver torque exceeds a certain value";