|
|
@ -55,6 +55,8 @@ class ToyotaFlags(IntFlag): |
|
|
|
# these cars use the Lane Tracing Assist (LTA) message for lateral control |
|
|
|
# these cars use the Lane Tracing Assist (LTA) message for lateral control |
|
|
|
ANGLE_CONTROL = 128 |
|
|
|
ANGLE_CONTROL = 128 |
|
|
|
NO_STOP_TIMER = 256 |
|
|
|
NO_STOP_TIMER = 256 |
|
|
|
|
|
|
|
# these cars are speculated to allow stop and go when the DSU is unplugged or disabled with sDSU |
|
|
|
|
|
|
|
SNG_WITHOUT_DSU = 512 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Footnote(Enum): |
|
|
|
class Footnote(Enum): |
|
|
@ -182,7 +184,7 @@ class CAR(Platforms): |
|
|
|
], |
|
|
|
], |
|
|
|
CarSpecs(mass=4516. * CV.LB_TO_KG, wheelbase=2.8194, steerRatio=16.0, tireStiffnessFactor=0.8), |
|
|
|
CarSpecs(mass=4516. * CV.LB_TO_KG, wheelbase=2.8194, steerRatio=16.0, tireStiffnessFactor=0.8), |
|
|
|
dbc_dict('toyota_tnga_k_pt_generated', 'toyota_adas'), |
|
|
|
dbc_dict('toyota_tnga_k_pt_generated', 'toyota_adas'), |
|
|
|
flags=ToyotaFlags.NO_STOP_TIMER, |
|
|
|
flags=ToyotaFlags.NO_STOP_TIMER | ToyotaFlags.SNG_WITHOUT_DSU, |
|
|
|
) |
|
|
|
) |
|
|
|
HIGHLANDER_TSS2 = ToyotaTSS2PlatformConfig( |
|
|
|
HIGHLANDER_TSS2 = ToyotaTSS2PlatformConfig( |
|
|
|
"TOYOTA HIGHLANDER 2020", |
|
|
|
"TOYOTA HIGHLANDER 2020", |
|
|
@ -207,7 +209,7 @@ class CAR(Platforms): |
|
|
|
ToyotaCarInfo("Toyota Prius v 2017", "Toyota Safety Sense P", min_enable_speed=MIN_ACC_SPEED), |
|
|
|
ToyotaCarInfo("Toyota Prius v 2017", "Toyota Safety Sense P", min_enable_speed=MIN_ACC_SPEED), |
|
|
|
CarSpecs(mass=3340. * CV.LB_TO_KG, wheelbase=2.78, steerRatio=17.4, tireStiffnessFactor=0.5533), |
|
|
|
CarSpecs(mass=3340. * CV.LB_TO_KG, wheelbase=2.78, steerRatio=17.4, tireStiffnessFactor=0.5533), |
|
|
|
dbc_dict('toyota_new_mc_pt_generated', 'toyota_adas'), |
|
|
|
dbc_dict('toyota_new_mc_pt_generated', 'toyota_adas'), |
|
|
|
flags=ToyotaFlags.NO_STOP_TIMER, |
|
|
|
flags=ToyotaFlags.NO_STOP_TIMER | ToyotaFlags.SNG_WITHOUT_DSU, |
|
|
|
) |
|
|
|
) |
|
|
|
PRIUS_TSS2 = ToyotaTSS2PlatformConfig( |
|
|
|
PRIUS_TSS2 = ToyotaTSS2PlatformConfig( |
|
|
|
"TOYOTA PRIUS TSS2 2021", |
|
|
|
"TOYOTA PRIUS TSS2 2021", |
|
|
|