2018-01-20 11:53:58 -08:00
|
|
|
/*
|
|
|
|
* @file maf2map.h
|
|
|
|
*
|
2019-01-12 22:53:58 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2019
|
2018-01-20 11:53:58 -08:00
|
|
|
* @date Jan 20, 2018
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONTROLLERS_SENSORS_MAF2MAP_H_
|
|
|
|
#define CONTROLLERS_SENSORS_MAF2MAP_H_
|
|
|
|
|
2019-01-12 22:53:58 -08:00
|
|
|
#include "table_helper.h"
|
2018-01-20 11:53:58 -08:00
|
|
|
|
2019-01-12 22:53:58 -08:00
|
|
|
#define ASIZE 16
|
2018-01-20 11:53:58 -08:00
|
|
|
|
2019-01-12 22:53:58 -08:00
|
|
|
typedef Map3D<ASIZE, ASIZE, float> maf2map_Map3D_t;
|
2018-01-20 11:53:58 -08:00
|
|
|
|
2019-01-12 22:53:58 -08:00
|
|
|
void initMaf2Map();
|
|
|
|
float estimateMapByRpmAndMaf(int rpm, float maf);
|
2018-01-20 11:53:58 -08:00
|
|
|
|
|
|
|
#endif /* CONTROLLERS_SENSORS_MAF2MAP_H_ */
|