spelling
This commit is contained in:
parent
dad00adc28
commit
17d4646dce
|
@ -44,8 +44,8 @@ bool LaunchControlBase::isInsideSwitchCondition() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns True in case Vehicle speed is less then trashold.
|
||||
* This condiiion would only return true based on speed if DisablebySpeed is true
|
||||
* Returns True in case Vehicle speed is less then threshold.
|
||||
* This condition would only return true based on speed if DisablebySpeed is true
|
||||
* The condition logic is written in that way, that if we do not use disable by speed
|
||||
* then we have to return true, and trust that we would disable by other condition!
|
||||
*/
|
||||
|
@ -56,7 +56,7 @@ bool LaunchControlBase::isInsideSpeedCondition() const {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns false if TPS is invalid or TPS > preset trashold
|
||||
* Returns false if TPS is invalid or TPS > preset threshold
|
||||
*/
|
||||
bool LaunchControlBase::isInsideTpsCondition() const {
|
||||
auto tps = Sensor::get(SensorType::DriverThrottleIntent);
|
||||
|
|
|
@ -22,7 +22,7 @@ TEST(DynoView, VSS_T1) {
|
|||
DynoView dut;
|
||||
dut.inject();
|
||||
|
||||
// Test Speed trashold
|
||||
// Test Speed threshold
|
||||
engineConfiguration->vehicleWeight = 900;
|
||||
eth.moveTimeForwardMs(50);
|
||||
|
||||
|
@ -42,7 +42,7 @@ TEST(DynoView, algo) {
|
|||
DynoView dut;
|
||||
dut.inject();
|
||||
|
||||
// Test Speed trashold
|
||||
// Test Speed threshold
|
||||
engineConfiguration->vehicleWeight = 900;
|
||||
|
||||
//to capture vss
|
||||
|
@ -67,7 +67,7 @@ TEST(DynoView, VSS_fast) {
|
|||
DynoView dut;
|
||||
dut.inject();
|
||||
|
||||
// Test Speed trashold
|
||||
// Test Speed threshold
|
||||
engineConfiguration->vehicleWeight = 900; //kg
|
||||
engine->rpmCalculator.mockRpm = 2200;
|
||||
eth.moveTimeForwardMs(50);
|
||||
|
@ -91,7 +91,7 @@ TEST(DynoView, VSS_Torque) {
|
|||
DynoView dut;
|
||||
dut.inject();
|
||||
|
||||
// Test Speed trashold
|
||||
// Test Speed threshold
|
||||
engineConfiguration->vehicleWeight = 900; //kg
|
||||
engine->rpmCalculator.mockRpm = 2200;
|
||||
eth.moveTimeForwardMs(50);
|
||||
|
|
|
@ -30,7 +30,7 @@ TEST(LaunchControl, VSSCondition) {
|
|||
LaunchControlBase dut;
|
||||
dut.inject();
|
||||
|
||||
// Test Speed trashold
|
||||
// Test Speed threshold
|
||||
engineConfiguration->launchActivationMode = ALWAYS_ACTIVE_LAUNCH;
|
||||
engineConfiguration->launchSpeedThreshold = 30;
|
||||
|
||||
|
|
Loading…
Reference in New Issue