|
|
@ -27,7 +27,6 @@ class CAR: |
|
|
|
KIA_OPTIMA_H = "KIA OPTIMA HYBRID 2017 & SPORTS 2019" |
|
|
|
KIA_OPTIMA_H = "KIA OPTIMA HYBRID 2017 & SPORTS 2019" |
|
|
|
KIA_SORENTO = "KIA SORENTO GT LINE 2018" |
|
|
|
KIA_SORENTO = "KIA SORENTO GT LINE 2018" |
|
|
|
KIA_STINGER = "KIA STINGER GT2 2018" |
|
|
|
KIA_STINGER = "KIA STINGER GT2 2018" |
|
|
|
KONA = "HYUNDAI KONA 2019" |
|
|
|
|
|
|
|
KONA_EV = "HYUNDAI KONA ELECTRIC 2019" |
|
|
|
KONA_EV = "HYUNDAI KONA ELECTRIC 2019" |
|
|
|
SANTA_FE = "HYUNDAI SANTA FE LIMITED 2019" |
|
|
|
SANTA_FE = "HYUNDAI SANTA FE LIMITED 2019" |
|
|
|
SONATA = "HYUNDAI SONATA 2020" |
|
|
|
SONATA = "HYUNDAI SONATA 2020" |
|
|
@ -119,9 +118,6 @@ FINGERPRINTS = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
68:8, 127: 8, 304: 8, 320: 8, 339: 8, 352: 8, 356: 4, 524: 8, 544: 8, 576:8, 593: 8, 688: 5, 832: 8, 881: 8, 882: 8, 897: 8, 902: 8, 903: 8, 905: 8, 909: 8, 916: 8, 1040: 8, 1042: 8, 1056: 8, 1057: 8, 1078: 4, 1136: 6, 1151: 6, 1155: 8, 1156: 8, 1157: 4, 1164: 8, 1168: 7, 1173: 8, 1183: 8, 1186: 2, 1191: 2, 1225: 8, 1265: 4, 1280: 1, 1287: 4, 1290: 8, 1291: 8, 1292: 8, 1294: 8, 1312: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1355: 8, 1363: 8, 1369: 8, 1379: 8, 1407: 8, 1419: 8, 1426: 8, 1427: 6, 1429: 8, 1430: 8, 1448: 8, 1456: 4, 1470: 8, 1473: 8, 1476: 8, 1507: 8, 1535: 8, 1988: 8, 1996: 8, 2000: 8, 2004: 8, 2005: 8, 2008: 8, 2012: 8, 2013: 8 |
|
|
|
68:8, 127: 8, 304: 8, 320: 8, 339: 8, 352: 8, 356: 4, 524: 8, 544: 8, 576:8, 593: 8, 688: 5, 832: 8, 881: 8, 882: 8, 897: 8, 902: 8, 903: 8, 905: 8, 909: 8, 916: 8, 1040: 8, 1042: 8, 1056: 8, 1057: 8, 1078: 4, 1136: 6, 1151: 6, 1155: 8, 1156: 8, 1157: 4, 1164: 8, 1168: 7, 1173: 8, 1183: 8, 1186: 2, 1191: 2, 1225: 8, 1265: 4, 1280: 1, 1287: 4, 1290: 8, 1291: 8, 1292: 8, 1294: 8, 1312: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1355: 8, 1363: 8, 1369: 8, 1379: 8, 1407: 8, 1419: 8, 1426: 8, 1427: 6, 1429: 8, 1430: 8, 1448: 8, 1456: 4, 1470: 8, 1473: 8, 1476: 8, 1507: 8, 1535: 8, 1988: 8, 1996: 8, 2000: 8, 2004: 8, 2005: 8, 2008: 8, 2012: 8, 2013: 8 |
|
|
|
}], |
|
|
|
|
|
|
|
CAR.KONA: [{ |
|
|
|
|
|
|
|
67: 8, 127: 8, 304: 8, 320: 8, 339: 8, 354: 3, 356: 4, 544: 8, 593: 8, 608: 8, 688: 5, 809: 8, 832: 8, 854: 7, 870: 7, 871: 8, 872: 8, 897: 8, 902: 8, 903: 8, 909: 8, 916: 8, 1040: 8, 1078: 4, 1107: 5, 1136: 8, 1156: 8, 1170: 8, 1173: 8, 1191: 2, 1265: 4, 1280: 1, 1287: 4, 1292: 8, 1294: 8, 1312: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1363: 8, 1369: 8, 1384: 8, 1394: 8, 1407: 8, 1414: 3, 1419: 8, 1427: 6, 1456: 4, 1470: 8, 2004: 8, 2009: 8, 2012: 8 |
|
|
|
|
|
|
|
}], |
|
|
|
}], |
|
|
|
CAR.KONA_EV: [{ |
|
|
|
CAR.KONA_EV: [{ |
|
|
|
127: 8, 304: 8, 320: 8, 339: 8, 352: 8, 356: 4, 544: 8, 549: 8, 593: 8, 688: 5, 832: 8, 881: 8, 882: 8, 897: 8, 902: 8, 903: 8, 905: 8, 909: 8, 916: 8, 1040: 8, 1042: 8, 1056: 8, 1057: 8, 1078: 4, 1136: 8, 1151: 6, 1168: 7, 1173: 8, 1183: 8, 1186: 2, 1191: 2, 1225: 8, 1265: 4, 1280: 1, 1287: 4, 1290: 8, 1291: 8, 1292: 8, 1294: 8, 1307: 8, 1312: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1355: 8, 1363: 8, 1369: 8, 1378: 4, 1407: 8, 1419: 8, 1426: 8, 1427: 6, 1429: 8, 1430: 8, 1456: 4, 1470: 8, 1473: 8, 1507: 8, 1535: 8, 2000: 8, 2004: 8, 2008: 8, 2012: 8 |
|
|
|
127: 8, 304: 8, 320: 8, 339: 8, 352: 8, 356: 4, 544: 8, 549: 8, 593: 8, 688: 5, 832: 8, 881: 8, 882: 8, 897: 8, 902: 8, 903: 8, 905: 8, 909: 8, 916: 8, 1040: 8, 1042: 8, 1056: 8, 1057: 8, 1078: 4, 1136: 8, 1151: 6, 1168: 7, 1173: 8, 1183: 8, 1186: 2, 1191: 2, 1225: 8, 1265: 4, 1280: 1, 1287: 4, 1290: 8, 1291: 8, 1292: 8, 1294: 8, 1307: 8, 1312: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1355: 8, 1363: 8, 1369: 8, 1378: 4, 1407: 8, 1419: 8, 1426: 8, 1427: 6, 1429: 8, 1430: 8, 1456: 4, 1470: 8, 1473: 8, 1507: 8, 1535: 8, 2000: 8, 2004: 8, 2008: 8, 2012: 8 |
|
|
@ -237,12 +233,12 @@ CHECKSUM = { |
|
|
|
|
|
|
|
|
|
|
|
FEATURES = { |
|
|
|
FEATURES = { |
|
|
|
# which message has the gear |
|
|
|
# which message has the gear |
|
|
|
"use_cluster_gears": set([CAR.ELANTRA, CAR.KONA, CAR.ELANTRA_GT_I30]), |
|
|
|
"use_cluster_gears": set([CAR.ELANTRA, CAR.ELANTRA_GT_I30]), |
|
|
|
"use_tcu_gears": set([CAR.KIA_OPTIMA, CAR.SONATA_2019, CAR.VELOSTER]), |
|
|
|
"use_tcu_gears": set([CAR.KIA_OPTIMA, CAR.SONATA_2019, CAR.VELOSTER]), |
|
|
|
"use_elect_gears": set([CAR.KIA_OPTIMA_H, CAR.IONIQ_EV_LTD, CAR.KONA_EV, CAR.IONIQ]), |
|
|
|
"use_elect_gears": set([CAR.KIA_OPTIMA_H, CAR.IONIQ_EV_LTD, CAR.KONA_EV, CAR.IONIQ]), |
|
|
|
|
|
|
|
|
|
|
|
# these cars use the FCA11 message for the AEB and FCW signals, all others use SCC12 |
|
|
|
# these cars use the FCA11 message for the AEB and FCW signals, all others use SCC12 |
|
|
|
"use_fca": set([CAR.SONATA, CAR.ELANTRA, CAR.ELANTRA_GT_I30, CAR.KIA_STINGER, CAR.IONIQ, CAR.KONA, CAR.KONA_EV, CAR.KIA_FORTE, CAR.PALISADE]), |
|
|
|
"use_fca": set([CAR.SONATA, CAR.ELANTRA, CAR.ELANTRA_GT_I30, CAR.KIA_STINGER, CAR.IONIQ, CAR.KONA_EV, CAR.KIA_FORTE, CAR.PALISADE]), |
|
|
|
|
|
|
|
|
|
|
|
"use_bsm": set([CAR.SONATA, CAR.PALISADE, CAR.HYUNDAI_GENESIS, CAR.GENESIS_G80, CAR.GENESIS_G90]), |
|
|
|
"use_bsm": set([CAR.SONATA, CAR.PALISADE, CAR.HYUNDAI_GENESIS, CAR.GENESIS_G80, CAR.GENESIS_G90]), |
|
|
|
} |
|
|
|
} |
|
|
@ -262,7 +258,6 @@ DBC = { |
|
|
|
CAR.KIA_OPTIMA_H: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.KIA_OPTIMA_H: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.KIA_SORENTO: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.KIA_SORENTO: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.KIA_STINGER: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.KIA_STINGER: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.KONA: dbc_dict('hyundai_kia_generic', None), |
|
|
|
|
|
|
|
CAR.KONA_EV: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.KONA_EV: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.SANTA_FE: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.SANTA_FE: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.SONATA: dbc_dict('hyundai_kia_generic', None), |
|
|
|
CAR.SONATA: dbc_dict('hyundai_kia_generic', None), |
|
|
|