|
|
|
@ -117,7 +117,8 @@ class CAR(Platforms): |
|
|
|
|
HondaCarInfo("Honda Inspire 2018", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
|
HondaCarInfo("Honda Accord Hybrid 2018-22", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
|
], |
|
|
|
|
CarSpecs(mass=3279 * CV.LB_TO_KG, wheelbase=2.83, steerRatio=16.33, centerToFrontRatio=0.39), # steerRatio: 11.82 is spec end-to-end |
|
|
|
|
# steerRatio: 11.82 is spec end-to-end |
|
|
|
|
CarSpecs(mass=3279 * CV.LB_TO_KG, wheelbase=2.83, steerRatio=16.33, centerToFrontRatio=0.39, tireStiffnessFactor=0.8467), |
|
|
|
|
dbc_dict('honda_accord_2018_can_generated', None), |
|
|
|
|
) |
|
|
|
|
CIVIC_BOSCH = HondaBoschPlatformConfig( |
|
|
|
@ -149,40 +150,42 @@ class CAR(Platforms): |
|
|
|
|
CRV_5G = HondaBoschPlatformConfig( |
|
|
|
|
"HONDA CR-V 2017", |
|
|
|
|
HondaCarInfo("Honda CR-V 2017-22", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=3410 * CV.LB_TO_KG, wheelbase=2.66, steerRatio=16.0, centerToFrontRatio=0.41), # steerRatio: 12.3 is spec end-to-end |
|
|
|
|
# steerRatio: 12.3 is spec end-to-end |
|
|
|
|
CarSpecs(mass=3410 * CV.LB_TO_KG, wheelbase=2.66, steerRatio=16.0, centerToFrontRatio=0.41, tireStiffnessFactor=0.677), |
|
|
|
|
dbc_dict('honda_crv_ex_2017_can_generated', None, body_dbc='honda_crv_ex_2017_body_generated'), |
|
|
|
|
flags=HondaFlags.BOSCH_ALT_BRAKE, |
|
|
|
|
) |
|
|
|
|
CRV_HYBRID = HondaBoschPlatformConfig( |
|
|
|
|
"HONDA CR-V HYBRID 2019", |
|
|
|
|
HondaCarInfo("Honda CR-V Hybrid 2017-20", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=1667, wheelbase=2.66, steerRatio=16, centerToFrontRatio=0.41), # mass: mean of 4 models in kg, steerRatio: 12.3 is spec end-to-end |
|
|
|
|
# mass: mean of 4 models in kg, steerRatio: 12.3 is spec end-to-end |
|
|
|
|
CarSpecs(mass=1667, wheelbase=2.66, steerRatio=16, centerToFrontRatio=0.41, tireStiffnessFactor=0.677), |
|
|
|
|
dbc_dict('honda_accord_2018_can_generated', None), |
|
|
|
|
) |
|
|
|
|
HRV_3G = HondaBoschPlatformConfig( |
|
|
|
|
"HONDA HR-V 2023", |
|
|
|
|
HondaCarInfo("Honda HR-V 2023", "All"), |
|
|
|
|
CarSpecs(mass=3125 * CV.LB_TO_KG, wheelbase=2.61, steerRatio=15.2, centerToFrontRatio=0.41), |
|
|
|
|
CarSpecs(mass=3125 * CV.LB_TO_KG, wheelbase=2.61, steerRatio=15.2, centerToFrontRatio=0.41, tireStiffnessFactor=0.5), |
|
|
|
|
dbc_dict('honda_civic_ex_2022_can_generated', None), |
|
|
|
|
flags=HondaFlags.BOSCH_RADARLESS | HondaFlags.BOSCH_ALT_BRAKE, |
|
|
|
|
) |
|
|
|
|
ACURA_RDX_3G = HondaBoschPlatformConfig( |
|
|
|
|
"ACURA RDX 2020", |
|
|
|
|
HondaCarInfo("Acura RDX 2019-22", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=4068 * CV.LB_TO_KG, wheelbase=2.75, steerRatio=11.95, centerToFrontRatio=0.41), # as spec |
|
|
|
|
CarSpecs(mass=4068 * CV.LB_TO_KG, wheelbase=2.75, steerRatio=11.95, centerToFrontRatio=0.41, tireStiffnessFactor=0.677), # as spec |
|
|
|
|
dbc_dict('acura_rdx_2020_can_generated', None), |
|
|
|
|
flags=HondaFlags.BOSCH_ALT_BRAKE, |
|
|
|
|
) |
|
|
|
|
INSIGHT = HondaBoschPlatformConfig( |
|
|
|
|
"HONDA INSIGHT 2019", |
|
|
|
|
HondaCarInfo("Honda Insight 2019-22", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=2987 * CV.LB_TO_KG, wheelbase=2.7, steerRatio=15.0, centerToFrontRatio=0.39), # as spec |
|
|
|
|
CarSpecs(mass=2987 * CV.LB_TO_KG, wheelbase=2.7, steerRatio=15.0, centerToFrontRatio=0.39, tireStiffnessFactor=0.82), # as spec |
|
|
|
|
dbc_dict('honda_insight_ex_2019_can_generated', None), |
|
|
|
|
) |
|
|
|
|
HONDA_E = HondaBoschPlatformConfig( |
|
|
|
|
"HONDA E 2020", |
|
|
|
|
HondaCarInfo("Honda e 2020", "All", min_steer_speed=3. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=3338.8 * CV.LB_TO_KG, wheelbase=2.5, centerToFrontRatio=0.5, steerRatio=16.71), |
|
|
|
|
CarSpecs(mass=3338.8 * CV.LB_TO_KG, wheelbase=2.5, centerToFrontRatio=0.5, steerRatio=16.71, tireStiffnessFactor=0.82), |
|
|
|
|
dbc_dict('acura_rdx_2020_can_generated', None), |
|
|
|
|
) |
|
|
|
|
|
|
|
|
@ -190,14 +193,14 @@ class CAR(Platforms): |
|
|
|
|
ACURA_ILX = HondaNidecPlatformConfig( |
|
|
|
|
"ACURA ILX 2016", |
|
|
|
|
HondaCarInfo("Acura ILX 2016-19", "AcuraWatch Plus", min_steer_speed=25. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=3095 * CV.LB_TO_KG, wheelbase=2.67, steerRatio=18.61, centerToFrontRatio=0.37), # 15.3 is spec end-to-end |
|
|
|
|
CarSpecs(mass=3095 * CV.LB_TO_KG, wheelbase=2.67, steerRatio=18.61, centerToFrontRatio=0.37, tireStiffnessFactor=0.72), # 15.3 is spec end-to-end |
|
|
|
|
dbc_dict('acura_ilx_2016_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_SCM_MESSAGES, |
|
|
|
|
) |
|
|
|
|
CRV = HondaNidecPlatformConfig( |
|
|
|
|
"HONDA CR-V 2016", |
|
|
|
|
HondaCarInfo("Honda CR-V 2015-16", "Touring Trim", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=3572 * CV.LB_TO_KG, wheelbase=2.62, steerRatio=16.89, centerToFrontRatio=0.41), # as spec |
|
|
|
|
CarSpecs(mass=3572 * CV.LB_TO_KG, wheelbase=2.62, steerRatio=16.89, centerToFrontRatio=0.41, tireStiffnessFactor=0.444), # as spec |
|
|
|
|
dbc_dict('honda_crv_touring_2016_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_SCM_MESSAGES, |
|
|
|
|
) |
|
|
|
@ -211,14 +214,14 @@ class CAR(Platforms): |
|
|
|
|
FIT = HondaNidecPlatformConfig( |
|
|
|
|
"HONDA FIT 2018", |
|
|
|
|
HondaCarInfo("Honda Fit 2018-20", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=2644 * CV.LB_TO_KG, wheelbase=2.53, steerRatio=13.06, centerToFrontRatio=0.39), |
|
|
|
|
CarSpecs(mass=2644 * CV.LB_TO_KG, wheelbase=2.53, steerRatio=13.06, centerToFrontRatio=0.39, tireStiffnessFactor=0.75), |
|
|
|
|
dbc_dict('honda_fit_ex_2018_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_SCM_MESSAGES, |
|
|
|
|
) |
|
|
|
|
FREED = HondaNidecPlatformConfig( |
|
|
|
|
"HONDA FREED 2020", |
|
|
|
|
HondaCarInfo("Honda Freed 2020", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=3086. * CV.LB_TO_KG, wheelbase=2.74, steerRatio=13.06, centerToFrontRatio=0.39), # mostly copied from FIT |
|
|
|
|
CarSpecs(mass=3086. * CV.LB_TO_KG, wheelbase=2.74, steerRatio=13.06, centerToFrontRatio=0.39, tireStiffnessFactor=0.75), # mostly copied from FIT |
|
|
|
|
dbc_dict('honda_fit_ex_2018_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_SCM_MESSAGES, |
|
|
|
|
) |
|
|
|
@ -232,7 +235,7 @@ class CAR(Platforms): |
|
|
|
|
ODYSSEY = HondaNidecPlatformConfig( |
|
|
|
|
"HONDA ODYSSEY 2018", |
|
|
|
|
HondaCarInfo("Honda Odyssey 2018-20"), |
|
|
|
|
CarSpecs(mass=1900, wheelbase=3.0, steerRatio=14.35, centerToFrontRatio=0.41), |
|
|
|
|
CarSpecs(mass=1900, wheelbase=3.0, steerRatio=14.35, centerToFrontRatio=0.41, tireStiffnessFactor=0.82), |
|
|
|
|
dbc_dict('honda_odyssey_exl_2018_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_PCM_ACCEL, |
|
|
|
|
) |
|
|
|
@ -246,7 +249,7 @@ class CAR(Platforms): |
|
|
|
|
ACURA_RDX = HondaNidecPlatformConfig( |
|
|
|
|
"ACURA RDX 2018", |
|
|
|
|
HondaCarInfo("Acura RDX 2016-18", "AcuraWatch Plus", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=3925 * CV.LB_TO_KG, wheelbase=2.68, steerRatio=15.0, centerToFrontRatio=0.38), # as spec |
|
|
|
|
CarSpecs(mass=3925 * CV.LB_TO_KG, wheelbase=2.68, steerRatio=15.0, centerToFrontRatio=0.38, tireStiffnessFactor=0.444), # as spec |
|
|
|
|
dbc_dict('acura_rdx_2018_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_SCM_MESSAGES, |
|
|
|
|
) |
|
|
|
@ -256,14 +259,14 @@ class CAR(Platforms): |
|
|
|
|
HondaCarInfo("Honda Pilot 2016-22", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
HondaCarInfo("Honda Passport 2019-23", "All", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
], |
|
|
|
|
CarSpecs(mass=4278 * CV.LB_TO_KG, wheelbase=2.86, centerToFrontRatio=0.428, steerRatio=16.0), # as spec |
|
|
|
|
CarSpecs(mass=4278 * CV.LB_TO_KG, wheelbase=2.86, centerToFrontRatio=0.428, steerRatio=16.0, tireStiffnessFactor=0.444), # as spec |
|
|
|
|
dbc_dict('acura_ilx_2016_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_SCM_MESSAGES, |
|
|
|
|
) |
|
|
|
|
RIDGELINE = HondaNidecPlatformConfig( |
|
|
|
|
"HONDA RIDGELINE 2017", |
|
|
|
|
HondaCarInfo("Honda Ridgeline 2017-24", min_steer_speed=12. * CV.MPH_TO_MS), |
|
|
|
|
CarSpecs(mass=4515 * CV.LB_TO_KG, wheelbase=3.18, centerToFrontRatio=0.41, steerRatio=15.59), # as spec |
|
|
|
|
CarSpecs(mass=4515 * CV.LB_TO_KG, wheelbase=3.18, centerToFrontRatio=0.41, steerRatio=15.59, tireStiffnessFactor=0.444), # as spec |
|
|
|
|
dbc_dict('acura_ilx_2016_can_generated', 'acura_ilx_2016_nidec'), |
|
|
|
|
flags=HondaFlags.NIDEC_ALT_SCM_MESSAGES, |
|
|
|
|
) |
|
|
|
|