rusEFI
The most advanced open source ECU
|
body control unit use-case: inject many sensors from external ECU via ODB-II request/response this is totally different from Lua "set" sensor method
Definition in file init_can_sensors.cpp.
Functions | |
void | initCanSensors () |
Variables | |
ObdCanSensor< 2, 0 > | obdRpmSensor (PID_RPM, ODB_RPM_MULT, SensorType::Rpm) |
ObdCanSensor< 1, ODB_TEMP_EXTRA > | obdCltSensor (PID_COOLANT_TEMP, 1, SensorType::Clt) |
ObdCanSensor< 1, ODB_TEMP_EXTRA > | obdIatSensor (PID_INTAKE_TEMP, 1, SensorType::Iat) |
ObdCanSensor< 1, 0 > | obdTpsSensor (PID_INTAKE_TEMP, ODB_TPS_BYTE_PERCENT, SensorType::Tps1) |
void initCanSensors | ( | ) |
Definition at line 41 of file init_can_sensors.cpp.
Referenced by initNewSensors().
ObdCanSensor< 1, ODB_TEMP_EXTRA > obdCltSensor(PID_COOLANT_TEMP, 1, SensorType::Clt) | ( | PID_COOLANT_TEMP | , |
1 | , | ||
SensorType::Clt | |||
) |
Referenced by initCanSensors().
ObdCanSensor< 1, ODB_TEMP_EXTRA > obdIatSensor(PID_INTAKE_TEMP, 1, SensorType::Iat) | ( | PID_INTAKE_TEMP | , |
1 | , | ||
SensorType::Iat | |||
) |
Referenced by initCanSensors().
ObdCanSensor< 2, 0 > obdRpmSensor(PID_RPM, ODB_RPM_MULT, SensorType::Rpm) | ( | PID_RPM | , |
ODB_RPM_MULT | , | ||
SensorType::Rpm | |||
) |
Referenced by initCanSensors().
ObdCanSensor< 1, 0 > obdTpsSensor(PID_INTAKE_TEMP, ODB_TPS_BYTE_PERCENT, SensorType::Tps1) | ( | PID_INTAKE_TEMP | , |
ODB_TPS_BYTE_PERCENT | , | ||
SensorType::Tps1 | |||
) |
Referenced by initCanSensors().