diff --git a/selfdrive/car/torque_data/override.toml b/selfdrive/car/torque_data/override.toml index 03accc1abaadb9..1a25ca6b08cc47 100644 --- a/selfdrive/car/torque_data/override.toml +++ b/selfdrive/car/torque_data/override.toml @@ -46,6 +46,7 @@ legend = ["LAT_ACCEL_FACTOR", "MAX_LAT_ACCEL_MEASURED", "FRICTION"] "CHEVROLET_TRAILBLAZER" = [1.33, 1.9, 0.16] "CHEVROLET_EQUINOX" = [2.5, 2.5, 0.05] "AUDI_A4_MK4" = [1.4, 1.4, 0.1] +"AUDI_Q5_8R" = [1.9, 1.9, 0.14] "VOLKSWAGEN_CADDY_MK3" = [1.2, 1.2, 0.1] "VOLKSWAGEN_PASSAT_NMS" = [2.5, 2.5, 0.1] "VOLKSWAGEN_SHARAN_MK2" = [2.5, 2.5, 0.1] diff --git a/selfdrive/car/volkswagen/fingerprints.py b/selfdrive/car/volkswagen/fingerprints.py index 61f13c1bdff1d0..e612b2eb493855 100644 --- a/selfdrive/car/volkswagen/fingerprints.py +++ b/selfdrive/car/volkswagen/fingerprints.py @@ -847,6 +847,25 @@ b'\xf1\x872Q0907572M \xf1\x890233', ], }, + CAR.AUDI_Q5_8R: { + (Ecu.engine, 0x7e0, None): [ + b'\xf1\x878R0907115N \xf1\x890006', + ], + (Ecu.transmission, 0x7e1, None): [ + b'\xf1\x878R0927158D \xf1\x891010', + ], + # FIXME: placeholder + (Ecu.srs, 0x715, None): [ + b'PLACEHOLDER', + ], + (Ecu.eps, 0x712, None): [ + b'\xf1\x878R0909144R \xf1\x890511\xf1\x82\x01\n\x1a', + ], + #(Ecu.fwdRadar, 0x757, None): [ + # # FIXME: placeholder + # b'\xf1\x872Q0907572M \xf1\x890233', + #], + }, CAR.AUDI_Q2_MK1: { (Ecu.engine, 0x7e0, None): [ b'\xf1\x8704E906027JT\xf1\x894145', diff --git a/selfdrive/car/volkswagen/values.py b/selfdrive/car/volkswagen/values.py index 18233ccd29a4b4..d57451bc735efa 100644 --- a/selfdrive/car/volkswagen/values.py +++ b/selfdrive/car/volkswagen/values.py @@ -402,6 +402,14 @@ class CAR(Platforms): chassis_codes={"FL"}, wmis={WMI.AUDI_GERMANY_CAR}, ) + AUDI_Q5_8R = VolkswagenMLBPlatformConfig( # Chassis FL + [ + VWCarDocs("Audi Q5 8R Hybrid 2011-2017"), + #VWCarDocs("Audi Q5 8R Facelift 2013-2017"), + ], + VolkswagenCarSpecs(mass=1840, wheelbase=2.81), + wmis={WMI.AUDI_GERMANY_CAR}, + ) AUDI_Q2_MK1 = VolkswagenMQBPlatformConfig( [VWCarDocs("Audi Q2 2018")], VolkswagenCarSpecs(mass=1205, wheelbase=2.61),