rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
ego.h
Go to the documentation of this file.
1/**
2 * @file ego.h
3 * @brief
4 *
5 *
6 * @date Nov 15, 2013
7 * @author Andrey Belomutskiy, (c) 2012-2020
8 */
9
10#pragma once
11
12#include "global.h"
13#include "stored_value_sensor.h"
15#include "exp_average.h"
16
17float getAfr(SensorType type);
18bool hasAfrSensor();
19void setEgoSensor(ego_sensor_e type);
20
23
Base class for sensors that compute a value on one thread, and want to make it available to consumers...
StoredValueSensor smoothedLambda1Sensor
float getAfr(SensorType type)
Definition ego.cpp:25
StoredValueSensor smoothedLambda2Sensor
bool hasAfrSensor()
Definition ego.cpp:17
void setEgoSensor(ego_sensor_e type)
Definition ego.cpp:100
ExpAverage expAverageLambda2
Definition ego.cpp:13
ExpAverage expAverageLambda1
Definition ego.cpp:12
Main engine configuration data structure.
ego_sensor_e
SensorType
Definition sensor_type.h:18
Base class for a sensor that has its value asynchronously set, then later retrieved by a consumer.