rusEFI
The most advanced open source ECU
|
#include <launch_control.h>
Public Member Functions | |
LaunchControlBase () | |
void | update () |
float | getFuelCoefficient () const |
bool | isInsideSpeedCondition () const |
bool | isInsideTpsCondition () const |
bool | isInsideSwitchCondition () |
LaunchCondition | calculateRPMLaunchCondition (float rpm) |
LaunchCondition | calculateLaunchCondition (float rpm) |
bool | isLaunchSparkRpmRetardCondition () const |
bool | isLaunchFuelRpmRetardCondition () const |
float | getSparkSkipRatio () const |
Private Member Functions | |
bool | isLaunchRpmRetardCondition () const |
float | calculateSparkSkipRatio (float rpm) const |
Private Attributes | |
float | sparkSkipRatio = 0.0f |
Definition at line 20 of file launch_control.h.
LaunchControlBase::LaunchControlBase | ( | ) |
Definition at line 112 of file launch_control.cpp.
LaunchCondition LaunchControlBase::calculateLaunchCondition | ( | float | rpm | ) |
Definition at line 97 of file launch_control.cpp.
Referenced by update().
LaunchCondition LaunchControlBase::calculateRPMLaunchCondition | ( | float | rpm | ) |
Definition at line 74 of file launch_control.cpp.
Referenced by calculateLaunchCondition().
Definition at line 150 of file launch_control.cpp.
Referenced by update().
float LaunchControlBase::getFuelCoefficient | ( | ) | const |
Definition at line 118 of file launch_control.cpp.
Referenced by getRunningFuel().
|
inline |
Definition at line 36 of file launch_control.h.
Referenced by EngineState::updateSparkSkip().
bool LaunchControlBase::isInsideSpeedCondition | ( | ) | const |
Returns True when Vehicle speed ALLOWS launch control
Definition at line 49 of file launch_control.cpp.
Referenced by calculateLaunchCondition().
bool LaunchControlBase::isInsideSwitchCondition | ( | ) |
We can have active condition from switch or from clutch. In case we are dependent on VSS we just return true.
Definition at line 22 of file launch_control.cpp.
Referenced by calculateLaunchCondition().
bool LaunchControlBase::isInsideTpsCondition | ( | ) | const |
Returns false if TPS is invalid or TPS > preset threshold
Definition at line 62 of file launch_control.cpp.
Referenced by calculateLaunchCondition().
bool LaunchControlBase::isLaunchFuelRpmRetardCondition | ( | ) | const |
Definition at line 146 of file launch_control.cpp.
Referenced by LimpManager::updateState().
|
private |
Definition at line 138 of file launch_control.cpp.
Referenced by isLaunchFuelRpmRetardCondition(), and isLaunchSparkRpmRetardCondition().
bool LaunchControlBase::isLaunchSparkRpmRetardCondition | ( | ) | const |
Definition at line 142 of file launch_control.cpp.
Referenced by LimpManager::updateState().
void LaunchControlBase::update | ( | ) |
Definition at line 122 of file launch_control.cpp.
Referenced by EngineState::periodicFastCallback().
|
private |
Definition at line 44 of file launch_control.h.
Referenced by getSparkSkipRatio(), and update().