auto-sync
This commit is contained in:
parent
180163d689
commit
df11dc6ff5
|
@ -493,32 +493,39 @@ typedef struct {
|
||||||
* offset 956
|
* offset 956
|
||||||
*/
|
*/
|
||||||
float fanOffTemperature;
|
float fanOffTemperature;
|
||||||
|
|
||||||
// offset 960
|
|
||||||
brain_pin_e vehicleSpeedSensorInputPin;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed
|
* offset 960
|
||||||
* (in km/h)
|
*/
|
||||||
|
brain_pin_e vehicleSpeedSensorInputPin;
|
||||||
|
/**
|
||||||
|
* This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h
|
||||||
* offset 964
|
* offset 964
|
||||||
*/
|
*/
|
||||||
float vehicleSpeedCoef;
|
float vehicleSpeedCoef;
|
||||||
// offset 968
|
/**
|
||||||
|
* offset 968
|
||||||
|
*/
|
||||||
can_nbc_e canNbcType;
|
can_nbc_e canNbcType;
|
||||||
// offset 972
|
/**
|
||||||
|
* offset 972
|
||||||
|
*/
|
||||||
int canSleepPeriod;
|
int canSleepPeriod;
|
||||||
|
/**
|
||||||
|
* offset 976
|
||||||
|
*/
|
||||||
int cylindersCount;
|
int cylindersCount;
|
||||||
|
/**
|
||||||
|
* offset 980
|
||||||
|
*/
|
||||||
ignition_mode_e ignitionMode;
|
ignition_mode_e ignitionMode;
|
||||||
|
/**
|
||||||
|
* offset 984
|
||||||
|
*/
|
||||||
firing_order_e firingOrder;
|
firing_order_e firingOrder;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This magic constant is about four-stroke engines with camshaft position sensors.
|
* todo: refactor this, see operation_mode_e
|
||||||
* On any four stroke engine, each revolution of the camshaft is two revolutions
|
|
||||||
* of the crankshaft. If camshaft position is our primary sensor, we use this multiplier
|
|
||||||
* to convert from camshaft angles to crankshaft angles. All angels across the system
|
|
||||||
* should be crankshaft angles.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
float rpmMultiplier;
|
float rpmMultiplier;
|
||||||
|
|
Loading…
Reference in New Issue