rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
init_input_shaft_speed_sensor.cpp
Go to the documentation of this file.
1#include "pch.h"
2
3/**
4 * We were NOT able to get this code working reliable
5 * it could be that biquad parameter or biquad overall is part of the problem
6 */
7
8#include "init.h"
9#include "frequency_sensor.h"
11
14
17
18 if (parameter < 3 || parameter > 200) {
19 parameter = 3;
20 }
21
22 float filterParameter = 1.0f / parameter;
24}
25
void initIfValid(brain_pin_e pin, SensorConverter &converter, float filterParameter)
static constexpr engine_configuration_s * engineConfiguration
void deinitInputShaftSpeedSensor()
void initInputShaftSpeedSensor()
FrequencySensor inputShaftSpeedSensor(SensorType::InputShaftSpeed, MS2NT(500))
static InputShaftSpeedConverter inputSpeedConverter