sensor_type values (#2604)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
parent
fe4e353c8c
commit
54fca52e42
|
@ -20,54 +20,54 @@
|
||||||
*/
|
*/
|
||||||
enum class SensorType : unsigned char {
|
enum class SensorType : unsigned char {
|
||||||
Invalid = 0,
|
Invalid = 0,
|
||||||
Clt,
|
Clt = 1,
|
||||||
Iat,
|
Iat = 2,
|
||||||
Rpm,
|
Rpm = 3,
|
||||||
Map,
|
Map = 4,
|
||||||
Maf,
|
Maf = 5,
|
||||||
|
|
||||||
OilPressure,
|
OilPressure = 6,
|
||||||
|
|
||||||
FuelPressureLow, // in kPa
|
FuelPressureLow = 7, // in kPa
|
||||||
FuelPressureHigh, // in kPa
|
FuelPressureHigh = 8, // in kPa
|
||||||
FuelPressureInjector,
|
FuelPressureInjector = 9,
|
||||||
|
|
||||||
// This is the "resolved" position, potentially composited out of the following two
|
// This is the "resolved" position, potentially composited out of the following two
|
||||||
Tps1,
|
Tps1 = 10,
|
||||||
// This is the first sensor
|
// This is the first sensor
|
||||||
Tps1Primary,
|
Tps1Primary = 11,
|
||||||
// This is the second sensor
|
// This is the second sensor
|
||||||
Tps1Secondary,
|
Tps1Secondary = 12,
|
||||||
|
|
||||||
Tps2,
|
Tps2 = 13,
|
||||||
Tps2Primary,
|
Tps2Primary = 14,
|
||||||
Tps2Secondary,
|
Tps2Secondary = 15,
|
||||||
|
|
||||||
// Redundant and combined sensors for acc pedal
|
// Redundant and combined sensors for acc pedal
|
||||||
AcceleratorPedal,
|
AcceleratorPedal = 16,
|
||||||
AcceleratorPedalPrimary,
|
AcceleratorPedalPrimary = 17,
|
||||||
AcceleratorPedalSecondary,
|
AcceleratorPedalSecondary = 18,
|
||||||
|
|
||||||
// This maps to the pedal if we have one, and Tps1 if not.
|
// This maps to the pedal if we have one, and Tps1 if not.
|
||||||
DriverThrottleIntent,
|
DriverThrottleIntent = 19,
|
||||||
|
|
||||||
AuxTemp1,
|
AuxTemp1 = 20,
|
||||||
AuxTemp2,
|
AuxTemp2 = 21,
|
||||||
|
|
||||||
Lambda1,
|
Lambda1 = 22,
|
||||||
Lambda2,
|
Lambda2 = 23,
|
||||||
|
|
||||||
WastegatePosition,
|
WastegatePosition = 24,
|
||||||
IdlePosition,
|
IdlePosition = 25,
|
||||||
|
|
||||||
FuelEthanolPercent,
|
FuelEthanolPercent = 26,
|
||||||
|
|
||||||
BatteryVoltage,
|
BatteryVoltage = 27,
|
||||||
|
|
||||||
BarometricPressure,
|
BarometricPressure = 28,
|
||||||
|
|
||||||
FuelLevel,
|
FuelLevel = 29,
|
||||||
|
|
||||||
// Leave me at the end!
|
// Leave me at the end!
|
||||||
PlaceholderLast
|
PlaceholderLast = 30,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue