17 efitimeus_t timeNow, deltaTime = 0.0;
18 float speed,deltaSpeed = 0.0;
33 deltaSpeed = (
vss - speed);
36 deltaSpeed = speed -
vss;
70 if (deltaSpeed != 0.0) {
71 acceleration = ((deltaSpeed / 3.6) / (deltaTime / US_PER_SECOND_F));
void updateAcceleration(efitimeus_t deltaTime, float deltaSpeed)
void setAcceleration(float a)
TunerStudioOutputChannels outputChannels
static float getOrZero(SensorType type)
float getDynoviewAcceleration()
static DynoView dynoInstance
float efiRound(float value, float precision)
efitimeus_t getTimeNowUs()
engine_configuration_s * engineConfiguration
bool isBrainPinValid(brain_pin_e brainPin)
brain_input_pin_e vehicleSpeedSensorInputPin