Skip to content

Conversation

@mvl-boston
Copy link
Contributor

@mvl-boston mvl-boston commented Dec 24, 2025

Similar to Bosch_Civic, needs added manual transmission flag and fingerprints

8305f0cbb669656c|00000007--7570283ee1

Thanks to atmezferix.

atmezferix and others added 12 commits December 20, 2025 16:16
Added params from here

{'carParams': {'alphaLongitudinalAvailable': False,
               'alternativeExperience': 0,
               'autoResumeSng': True,
               'brand': 'mock',
               'carFingerprint': 'MOCK',
               'carFw': [{'address': 417001457,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'gateway',
                          'fwVersion': b'38897-TBA-A020\x00\x00',
                          'logging': False,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001967,
                          'subAddress': 0},
                         {'address': 416952561,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'eps',
                          'fwVersion': b'39990-TGH-J020\x00\x00',
                          'logging': False,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001776,
                          'subAddress': 0},
                         {'address': 416944369,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'programmedFuelInjection',
                          'fwVersion': b'37805-5BF-E030\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001744,
                          'subAddress': 0},
                         {'address': 416964849,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'combinationMeter',
                          'fwVersion': b'78109-TGH-E310\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001824,
                          'subAddress': 0},
                         {'address': 416950513,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'vsa',
                          'fwVersion': b'57114-TGH-A130\x00\x00',
                          'logging': False,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001768,
                          'subAddress': 0},
                         {'address': 416986609,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'fwdCamera',
                          'fwVersion': b'36161-TGH-A020\x00\x00',
                          'logging': False,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001909,
                          'subAddress': 0},
                         {'address': 416985329,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'fwdRadar',
                          'fwVersion': b'36802-TGH-A030\x00\x00',
                          'logging': False,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001904,
                          'subAddress': 0},
                         {'address': 416961521,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'srs',
                          'fwVersion': b'77959-TGH-E220\x00\x00',
                          'logging': False,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001811,
                          'subAddress': 0},
                         {'address': 417001457,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'gateway',
                          'fwVersion': b'\x0cH2462012\x00\x00\x00\x00                  ',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001967,
                          'subAddress': 0},
                         {'address': 416952561,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'eps',
                          'fwVersion': b'\x0c BK7G255772C                  ',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001776,
                          'subAddress': 0},
                         {'address': 416944369,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'programmedFuelInjection',
                          'fwVersion': b'\x0e17-11-06  0131\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001744,
                          'subAddress': 0},
                         {'address': 416950513,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'vsa',
                          'fwVersion': b'\x0b72920747323\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001768,
                          'subAddress': 0},
                         {'address': 416986609,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'fwdCamera',
                          'fwVersion': b'\x0e11101711261084\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001909,
                          'subAddress': 0},
                         {'address': 416964849,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'combinationMeter',
                          'fwVersion': b'\x18H3344390\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001824,
                          'subAddress': 0},
                         {'address': 416985329,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'fwdRadar',
                          'fwVersion': b'\x0e04641711160A26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001904,
                          'subAddress': 0},
                         {'address': 416961521,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'srs',
                          'fwVersion': b'\x0bC1DQ009B14Y\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
                          'logging': True,
                          'obdMultiplexing': True,
                          'request': [b'"\xf1\x12'],
                          'responseAddress': 417001811,
                          'subAddress': 0},
                         {'address': 416952561,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'eps',
                          'fwVersion': b'39990-TGH-J020\x00\x00',
                          'logging': False,
                          'obdMultiplexing': False,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001776,
                          'subAddress': 0},
                         {'address': 416986609,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'fwdCamera',
                          'fwVersion': b'36161-TGH-A020\x00\x00',
                          'logging': False,
                          'obdMultiplexing': False,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001909,
                          'subAddress': 0},
                         {'address': 416985329,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'fwdRadar',
                          'fwVersion': b'36802-TGH-A030\x00\x00',
                          'logging': False,
                          'obdMultiplexing': False,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001904,
                          'subAddress': 0},
                         {'address': 416961521,
                          'brand': 'honda',
                          'bus': 1,
                          'ecu': 'srs',
                          'fwVersion': b'77959-TGH-E220\x00\x00',
                          'logging': False,
                          'obdMultiplexing': False,
                          'request': [b'"\xf1\x81'],
                          'responseAddress': 417001811,
                          'subAddress': 0}],
               'carVin': 'SHHFK8790HU003163',
Checked over them again
Added whole new Civic Section
CAR.HONDA_CIVIC_TYPE_R_FK8: {
    (Ecu.gateway, 0x18DAF1EF, 0): [b'38897-TBA-A020\x00\x00'], # Gateway
    (Ecu.abs, 0x18DAF128, 0): [b'57114-TGH-A130\x00\x00'], # VSA / ABS / ESP
    (Ecu.eps, 0x18DAF130, 0): [b'39990-TGH-J020\x00\x00'], # Electric Power Steering
    (Ecu.fwdCamera, 0x18DAF1B5, 0): [b'36161-TGH-A020\x00\x00'], # Forward Camera
    (Ecu.engine, 0x18DAF110, 0): [b'37805-5BF-E030\x00\x00'], # Programmed Fuel Injection / ECM
    (Ecu.combinationMeter, 0x18DAF160, 0): [b'78109-TGH-E310\x00\x00'],# Combination Meter
    (Ecu.fwdRadar, 0x18DAF1B0, 0): [b'36802-TGH-A030\x00\x00'], # Forward Radar
    (Ecu.srs, 0x18DAF153, 0): [b'77959-TGH-E220\x00\x00'], # SRS / Airbag
  },
HONDA_CIVIC_TYPE_R_FK8 = HondaBoschPlatformConfig(
  [
    HondaCarDocs(
      "Honda Civic Type R 2017-21",
      "EU Manual",
      min_steer_speed=12.0 * CV.MPH_TO_MS,
    ),
  ],
  CarSpecs(
    mass=1380,
    wheelbase=2.7,
    steerRatio=15.1,  # Tuned via test drives (started at ~15.38 from stock Civic)
    centerToFrontRatio=0.4,  # Recommended: matches standard Civic Bosch – helps lateral tuning
  ),
  {Bus.pt: 'honda_civic_hatchback_ex_2017_can_generated'},  # Same DBC as other FK8-era Civics
)
Put the Honda_Civic_Bosch back as it was
From ChatGPT checking
Added Manual Trans to FK8
CAR.HONDA_CIVIC_TYPE_R_FK8: {
  (Ecu.gateway, 0x18daeff1, None): [b'38897-TBA-A020\x00\x00'],
  (Ecu.vsa, 0x18da28f1, None): [b'57114-TGH-A130\x00\x00'],
  (Ecu.eps, 0x18da30f1, None): [b'39990-TGH-J020\x00\x00'],
  (Ecu.programmedFuelInjection, 0x18da10f1, None): [b'37805-5BF-E030\x00\x00'],
  (Ecu.combinationMeter, 0x18da60f1, None): [b'78109-TGH-E310\x00\x00'],
  (Ecu.fwdRadar, 0x18dab0f1, None): [b'36802-TGH-A030\x00\x00'],
  (Ecu.fwdCamera, 0x18dab5f1, None): [b'36161-TGH-A020\x00\x00'],
  (Ecu.srs, 0x18da53f1, None): [b'77959-TGH-E220\x00\x00'],
},
Added 

flags=HondaFlags.BOSCH | HondaFlags.ALLOW_MANUAL_TRANS,

To FK8
@github-actions github-actions bot added car related to opendbc/car/ honda labels Dec 24, 2025
@mvl-boston mvl-boston marked this pull request as ready for review December 24, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

car related to opendbc/car/ honda

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants