Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
e65f9dc
Adding Fit 4G fingerprints
mvl-boston Feb 6, 2026
875d959
Adding Fit 4G, pulling centerToFront from Nidec Fit
mvl-boston Feb 6, 2026
5f20b89
temp fit torque parameters
mvl-boston Feb 6, 2026
c8c2664
temp testroute exception
mvl-boston Feb 6, 2026
2646b08
whitespace fix
mvl-boston Feb 6, 2026
bfc921d
whitespace fix
mvl-boston Feb 6, 2026
1416e46
Add min steering speed for docs
mvl-boston Feb 6, 2026
2fc5834
Fix minSteerSpeed location
mvl-boston Feb 6, 2026
a2c1ccb
typo fix
mvl-boston Feb 6, 2026
a394cbe
Raise minsteerspeed to 23 to match Brazil City - haptic feedback obse…
mvl-boston Feb 7, 2026
205aea5
FIT_4G stock ACC cannot do SNG
mvl-boston Feb 7, 2026
ab9d7c7
Update FIT_4G max steer to 3840
mvl-boston Feb 8, 2026
36c96d3
updating to log-learned torque data
mvl-boston Feb 8, 2026
680244e
Updating to log based steer ratio
mvl-boston Feb 8, 2026
077ee0b
Including latest testroute
mvl-boston Feb 8, 2026
b4e7596
typo fix
mvl-boston Feb 8, 2026
b938312
Merge branch 'master' into fit-taiwan
mvl-boston Feb 8, 2026
0558767
Include FIT_4G fingerprints from comma power
mvl-boston Feb 9, 2026
cba21d9
Updating to latest test route
mvl-boston Feb 9, 2026
9317d4f
Updating FIT_4G to newer route torque parameters
mvl-boston Feb 9, 2026
74276e0
Merge branch 'master' into fit-taiwan
mvl-boston Mar 2, 2026
81daa49
Merge branch 'master' into fit-taiwan
mvl-boston Mar 28, 2026
2752d7f
Merge branch 'master' of github.com:commaai/opendbc into fit-taiwan
jyoung8607 Mar 28, 2026
33491a1
Merge branch 'master' into fit-taiwan
mvl-boston Apr 7, 2026
e3d94f0
Adding 2024 Fit Taiwan fingerprints
mvl-boston Apr 21, 2026
0ba1475
Add 2024 Taiwan Fit to values
mvl-boston Apr 21, 2026
cc8abc7
Updating to new Fit 4G test route
mvl-boston Apr 21, 2026
d9bd957
Merge branch 'master' into fit-taiwan
mvl-boston Apr 21, 2026
52fb927
Merge branch 'master' into fit-taiwan
mvl-boston Apr 23, 2026
ed6731d
Add 2021 Taiwin Fit fingerprint
mvl-boston May 10, 2026
e81277c
Add 2021 Taiwan Fit to values
mvl-boston May 10, 2026
e2cf503
Merge branch 'master' into fit-taiwan
mvl-boston May 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions opendbc/car/honda/fingerprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,30 @@
b'77959-T5R-A230\x00\x00',
],
},
CAR.HONDA_FIT_4G: {
(Ecu.fwdRadar, 0x18dab0f1, None): [
b'36161-TZK-P140\x00\x00',
b'8S102-TZK-PA20\x00\x00',
b'8S102-TZK-PB10\x00\x00',
],
(Ecu.transmission, 0x18da1ef1, None): [
b'28101-60E-F010\x00\x00',
],
(Ecu.gateway, 0x18daeff1, None): [
b'38897-TZA-Q010\x00\x00',
b'38897-TZB-U010\x00\x00',
],
(Ecu.eps, 0x18da30f1, None): [
b'39990-TZA-E910\x00\x00',
],
(Ecu.vsa, 0x18da28f1, None): [
b'57114-TZK-F010\x00\x00',
b'57114-TZL-F010\x00\x00',
],
(Ecu.srs, 0x18da53f1, None): [
b'77959-TZA-F120\x00\x00',
],
},
CAR.HONDA_FREED: {
(Ecu.gateway, 0x18daeff1, None): [
b'38897-TDK-J010\x00\x00',
Expand Down
9 changes: 7 additions & 2 deletions opendbc/car/honda/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, alpha_lo
# When using stock ACC, the radar intercepts and filters steering commands the EPS would otherwise accept
ret.minSteerSpeed = 70. * CV.KPH_TO_MS

elif candidate in (CAR.ACURA_TLX_2G_MMR, CAR.ACURA_MDX_4G):
elif candidate in (CAR.ACURA_TLX_2G_MMR, CAR.ACURA_MDX_4G, CAR.HONDA_FIT_4G):
ret.steerActuatorDelay = 0.15
ret.lateralParams.torqueBP, ret.lateralParams.torqueV = [[0, 3840], [0, 3840]]
CarInterfaceBase.configure_torque_tune(candidate, ret.lateralTuning)
Expand Down Expand Up @@ -227,11 +227,16 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, alpha_lo
# min speed to enable ACC. if car can do stop and go, then set enabling speed
# to a negative value, so it won't matter. Otherwise, add 0.5 mph margin to not
# conflict with PCM acc
ret.autoResumeSng = candidate in (HONDA_BOSCH | {CAR.HONDA_CIVIC})
if (candidate == CAR.HONDA_FIT_4G) and (not ret.openpilotLongitudinalControl):
ret.autoResumeSng = False
else:
ret.autoResumeSng = candidate in (HONDA_BOSCH | {CAR.HONDA_CIVIC})
if ret.autoResumeSng:
ret.minEnableSpeed = -1.
elif candidate == CAR.HONDA_ODYSSEY_TWN:
ret.minEnableSpeed = 19. * CV.MPH_TO_MS
elif candidate == CAR.HONDA_FIT_4G:
ret.minEnableSpeed = 30. * CV.KPH_TO_MS
else:
ret.minEnableSpeed = 25.51 * CV.MPH_TO_MS

Expand Down
10 changes: 10 additions & 0 deletions opendbc/car/honda/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,16 @@ class CAR(Platforms):
[HondaCarDocs("Acura TLX 2025", "All")],
CarSpecs(mass=3990 * CV.LB_TO_KG, wheelbase=2.87, centerToFrontRatio=0.43, steerRatio=13.7),
)
HONDA_FIT_4G = HondaBoschPlatformConfig(
[
HondaCarDocs("Honda Fit (Taiwan) 2021", "All"),
# TODO: add 2022-2023 fingerprints
HondaCarDocs("Honda Fit (Taiwan) 2024-25", "All"),
],
CarSpecs(mass=1229, wheelbase=2.53, steerRatio=19.7, centerToFrontRatio=0.39, minSteerSpeed=23. * CV.KPH_TO_MS),
{Bus.pt: 'honda_bosch_radarless_generated'},
flags=HondaFlags.BOSCH_RADARLESS,
)

# Nidec Cars
ACURA_ILX = HondaNidecPlatformConfig(
Expand Down
1 change: 1 addition & 0 deletions opendbc/car/tests/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class CarTestRoute(NamedTuple):
CarTestRoute("ad9840558640c31d/0000001a--d6cd4871c2", HONDA.ACURA_MDX_4G_MMR), # 2025 MDX
CarTestRoute("ad9840558640c31d/000001f2--026c4f6275", HONDA.ACURA_TLX_2G_MMR),
CarTestRoute("619b464263ab23f2/00000025--ece505fdfc", HONDA.ACURA_MDX_4G),
CarTestRoute("f0a3de7786dcc72c/0000001a--4336abf007", HONDA.HONDA_FIT_4G),

CarTestRoute("87d7f06ade479c2e/2023-09-11--23-30-11", HYUNDAI.HYUNDAI_AZERA_6TH_GEN),
CarTestRoute("66189dd8ec7b50e6/2023-09-20--07-02-12", HYUNDAI.HYUNDAI_AZERA_HEV_6TH_GEN),
Expand Down
1 change: 1 addition & 0 deletions opendbc/car/torque_data/override.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ legend = ["LAT_ACCEL_FACTOR", "MAX_LAT_ACCEL_MEASURED", "FRICTION"]
"JEEP_CHEROKEE_5TH_GEN" = [1.5, 1.5, 0.15]
"ACURA_MDX_4G" = [1.4, 1.4, 0.17]
"ACURA_RDX_3G_MMR" = [1.5, 1.5, 0.16]
"HONDA_FIT_4G" = [1.3, 1.3, 0.22]

# Dashcam or fallback configured as ideal car
"MOCK" = [10.0, 10, 0.0]
Expand Down
Loading