From 0c6a156b3bc396994603e134e8c58c00d8661db3 Mon Sep 17 00:00:00 2001 From: ioniq5-cz <111085918+ioniq5-cz@users.noreply.github.com> Date: Wed, 26 Oct 2022 09:31:06 +0200 Subject: [PATCH 1/5] additional Icons and chime from Dash --- hyundai_canfd.dbc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hyundai_canfd.dbc b/hyundai_canfd.dbc index e430e0b6db..19e27f704d 100644 --- a/hyundai_canfd.dbc +++ b/hyundai_canfd.dbc @@ -526,6 +526,11 @@ BO_ 506 CLUSTER_SPEED_LIMIT: 32 XXX SG_ SPEED_LIMIT_3 : 119|8@0+ (1,0) [0|255] "" XXX SG_ SPEED_LIMIT_2 : 46|6@0+ (1,0) [0|255] "" XXX SG_ SPEED_LIMIT_1 : 38|6@0+ (1,0) [0|255] "" XXX + SG_ SPEED_CHANGE_BLINKING : 129|1@1+ (1,0) [0|3] "" XXX + SG_ CHIME_2 : 122|2@1+ (1,0) [0|7] "" XXX + SG_ CHIME_1 : 133|1@0+ (1,0) [0|1] "" XXX + SG_ ARROW_DOWN : 120|1@0+ (1,0) [0|1] "" XXX + SG_ ARROW_UP : 121|1@0+ (1,0) [0|1] "" XXX CM_ SG_ 96 BRAKE_PRESSURE "User applied brake pedal pressure. Ramps from computer applied pressure on falling edge of cruise. Cruise cancels if !=0"; CM_ SG_ 101 BRAKE_POSITION "User applied brake pedal position, max is ~700. Signed on some vehicles"; From 27ea3e7d7b17d9f200aed9494ec5726a4aa0103d Mon Sep 17 00:00:00 2001 From: ioniq5-cz <111085918+ioniq5-cz@users.noreply.github.com> Date: Wed, 26 Oct 2022 20:41:59 +0200 Subject: [PATCH 2/5] Fix for EU cars using kph with 127 limit --- hyundai_canfd.dbc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hyundai_canfd.dbc b/hyundai_canfd.dbc index 19e27f704d..1c992e5992 100644 --- a/hyundai_canfd.dbc +++ b/hyundai_canfd.dbc @@ -212,7 +212,7 @@ BO_ 416 CRUISE_INFO: 32 ADRV SG_ ZEROS_4 : 183|4@0+ (1,0) [0|63] "" XXX SG_ ZEROS_6 : 119|16@0+ (1,0) [0|65535] "" XXX SG_ ZEROS_7 : 63|8@0+ (1,0) [0|255] "" XXX - SG_ SET_SPEED : 102|7@0+ (1,0) [0|127] "km/h or mph" XXX + SG_ SET_SPEED : 102|8@0+ (0.5,0) [0|127] "km/h or mph" XXX SG_ ZEROS_8 : 95|5@0+ (1,0) [0|31] "" XXX SG_ NEW_SIGNAL_3 : 109|2@0+ (1,0) [0|1] "" XXX SG_ NEW_SIGNAL_12 : 35|9@1+ (1,0) [0|255] "" XXX @@ -526,11 +526,6 @@ BO_ 506 CLUSTER_SPEED_LIMIT: 32 XXX SG_ SPEED_LIMIT_3 : 119|8@0+ (1,0) [0|255] "" XXX SG_ SPEED_LIMIT_2 : 46|6@0+ (1,0) [0|255] "" XXX SG_ SPEED_LIMIT_1 : 38|6@0+ (1,0) [0|255] "" XXX - SG_ SPEED_CHANGE_BLINKING : 129|1@1+ (1,0) [0|3] "" XXX - SG_ CHIME_2 : 122|2@1+ (1,0) [0|7] "" XXX - SG_ CHIME_1 : 133|1@0+ (1,0) [0|1] "" XXX - SG_ ARROW_DOWN : 120|1@0+ (1,0) [0|1] "" XXX - SG_ ARROW_UP : 121|1@0+ (1,0) [0|1] "" XXX CM_ SG_ 96 BRAKE_PRESSURE "User applied brake pedal pressure. Ramps from computer applied pressure on falling edge of cruise. Cruise cancels if !=0"; CM_ SG_ 101 BRAKE_POSITION "User applied brake pedal position, max is ~700. Signed on some vehicles"; From b8b284cf6a5d55956ba7255136d4bdfac1001c90 Mon Sep 17 00:00:00 2001 From: ioniq5-cz <111085918+ioniq5-cz@users.noreply.github.com> Date: Wed, 26 Oct 2022 20:56:30 +0200 Subject: [PATCH 3/5] 255 max --- hyundai_canfd.dbc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyundai_canfd.dbc b/hyundai_canfd.dbc index 1c992e5992..01e2599816 100644 --- a/hyundai_canfd.dbc +++ b/hyundai_canfd.dbc @@ -212,7 +212,7 @@ BO_ 416 CRUISE_INFO: 32 ADRV SG_ ZEROS_4 : 183|4@0+ (1,0) [0|63] "" XXX SG_ ZEROS_6 : 119|16@0+ (1,0) [0|65535] "" XXX SG_ ZEROS_7 : 63|8@0+ (1,0) [0|255] "" XXX - SG_ SET_SPEED : 102|8@0+ (0.5,0) [0|127] "km/h or mph" XXX + SG_ SET_SPEED : 102|8@0+ (0.5,0) [0|255] "km/h or mph" XXX SG_ ZEROS_8 : 95|5@0+ (1,0) [0|31] "" XXX SG_ NEW_SIGNAL_3 : 109|2@0+ (1,0) [0|1] "" XXX SG_ NEW_SIGNAL_12 : 35|9@1+ (1,0) [0|255] "" XXX From d4a8e16f82f937a6cdbbe4c633c460c92067d900 Mon Sep 17 00:00:00 2001 From: ioniq5-cz <111085918+ioniq5-cz@users.noreply.github.com> Date: Thu, 27 Oct 2022 10:56:26 +0200 Subject: [PATCH 4/5] remove factor 0.5 --- hyundai_canfd.dbc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyundai_canfd.dbc b/hyundai_canfd.dbc index 01e2599816..c88cbe0db5 100644 --- a/hyundai_canfd.dbc +++ b/hyundai_canfd.dbc @@ -212,7 +212,7 @@ BO_ 416 CRUISE_INFO: 32 ADRV SG_ ZEROS_4 : 183|4@0+ (1,0) [0|63] "" XXX SG_ ZEROS_6 : 119|16@0+ (1,0) [0|65535] "" XXX SG_ ZEROS_7 : 63|8@0+ (1,0) [0|255] "" XXX - SG_ SET_SPEED : 102|8@0+ (0.5,0) [0|255] "km/h or mph" XXX + SG_ SET_SPEED : 103|8@0+ (1,0) [0|255] "km/h or mph" XXX SG_ ZEROS_8 : 95|5@0+ (1,0) [0|31] "" XXX SG_ NEW_SIGNAL_3 : 109|2@0+ (1,0) [0|1] "" XXX SG_ NEW_SIGNAL_12 : 35|9@1+ (1,0) [0|255] "" XXX From aacb7d038db717f46914b1e3449bbbbb016db10d Mon Sep 17 00:00:00 2001 From: ioniq5-cz <111085918+ioniq5-cz@users.noreply.github.com> Date: Thu, 27 Oct 2022 11:04:59 +0200 Subject: [PATCH 5/5] removing unused NEW_SIGNAL_4 on 103 --- hyundai_canfd.dbc | 1 - 1 file changed, 1 deletion(-) diff --git a/hyundai_canfd.dbc b/hyundai_canfd.dbc index c88cbe0db5..320d1eaedf 100644 --- a/hyundai_canfd.dbc +++ b/hyundai_canfd.dbc @@ -202,7 +202,6 @@ BO_ 416 CRUISE_INFO: 32 ADRV SG_ CRUISE_MAIN : 66|1@1+ (1,0) [0|1] "" XXX SG_ CRUISE_STATUS : 67|3@1+ (1,0) [0|7] "" XXX SG_ CRUISE_INACTIVE : 70|1@1+ (1,0) [0|1] "" XXX - SG_ NEW_SIGNAL_4 : 103|1@1+ (1,0) [0|1] "" XXX SG_ NEW_SIGNAL_8 : 170|4@1+ (1,0) [0|15] "" XXX SG_ NEW_SIGNAL_10 : 156|5@0+ (1,0) [0|3] "" XXX SG_ ACCEL_REQ2 : 140|11@1+ (0.01,-10.23) [-10.23|10.24] "m/s^2" XXX