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.
|
* Returns True in case Vehicle speed is less then threshold.
|
||||||
* This condiiion would only return true based on speed if DisablebySpeed is true
|
* 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
|
* 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!
|
* 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 {
|
bool LaunchControlBase::isInsideTpsCondition() const {
|
||||||
auto tps = Sensor::get(SensorType::DriverThrottleIntent);
|
auto tps = Sensor::get(SensorType::DriverThrottleIntent);
|
||||||
|
|
|
@ -22,7 +22,7 @@ TEST(DynoView, VSS_T1) {
|
||||||
DynoView dut;
|
DynoView dut;
|
||||||
dut.inject();
|
dut.inject();
|
||||||
|
|
||||||
// Test Speed trashold
|
// Test Speed threshold
|
||||||
engineConfiguration->vehicleWeight = 900;
|
engineConfiguration->vehicleWeight = 900;
|
||||||
eth.moveTimeForwardMs(50);
|
eth.moveTimeForwardMs(50);
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ TEST(DynoView, algo) {
|
||||||
DynoView dut;
|
DynoView dut;
|
||||||
dut.inject();
|
dut.inject();
|
||||||
|
|
||||||
// Test Speed trashold
|
// Test Speed threshold
|
||||||
engineConfiguration->vehicleWeight = 900;
|
engineConfiguration->vehicleWeight = 900;
|
||||||
|
|
||||||
//to capture vss
|
//to capture vss
|
||||||
|
@ -67,7 +67,7 @@ TEST(DynoView, VSS_fast) {
|
||||||
DynoView dut;
|
DynoView dut;
|
||||||
dut.inject();
|
dut.inject();
|
||||||
|
|
||||||
// Test Speed trashold
|
// Test Speed threshold
|
||||||
engineConfiguration->vehicleWeight = 900; //kg
|
engineConfiguration->vehicleWeight = 900; //kg
|
||||||
engine->rpmCalculator.mockRpm = 2200;
|
engine->rpmCalculator.mockRpm = 2200;
|
||||||
eth.moveTimeForwardMs(50);
|
eth.moveTimeForwardMs(50);
|
||||||
|
@ -91,7 +91,7 @@ TEST(DynoView, VSS_Torque) {
|
||||||
DynoView dut;
|
DynoView dut;
|
||||||
dut.inject();
|
dut.inject();
|
||||||
|
|
||||||
// Test Speed trashold
|
// Test Speed threshold
|
||||||
engineConfiguration->vehicleWeight = 900; //kg
|
engineConfiguration->vehicleWeight = 900; //kg
|
||||||
engine->rpmCalculator.mockRpm = 2200;
|
engine->rpmCalculator.mockRpm = 2200;
|
||||||
eth.moveTimeForwardMs(50);
|
eth.moveTimeForwardMs(50);
|
||||||
|
|
|
@ -30,7 +30,7 @@ TEST(LaunchControl, VSSCondition) {
|
||||||
LaunchControlBase dut;
|
LaunchControlBase dut;
|
||||||
dut.inject();
|
dut.inject();
|
||||||
|
|
||||||
// Test Speed trashold
|
// Test Speed threshold
|
||||||
engineConfiguration->launchActivationMode = ALWAYS_ACTIVE_LAUNCH;
|
engineConfiguration->launchActivationMode = ALWAYS_ACTIVE_LAUNCH;
|
||||||
engineConfiguration->launchSpeedThreshold = 30;
|
engineConfiguration->launchSpeedThreshold = 30;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue