CAN bench test: broadcast raw analog values #5437
This commit is contained in:
parent
dded7f2926
commit
9adc323fec
|
@ -56,14 +56,14 @@ void sendEventCounters() {
|
||||||
|
|
||||||
void sendRawAnalogValues() {
|
void sendRawAnalogValues() {
|
||||||
const float values[RAW_ANALOG_VALUES_COUNT] = {
|
const float values[RAW_ANALOG_VALUES_COUNT] = {
|
||||||
engine->outputChannels.rawTps1Primary,
|
Sensor::getRaw(SensorType::Tps1Primary),
|
||||||
engine->outputChannels.rawTps1Secondary,
|
Sensor::getRaw(SensorType::Tps1Secondary),
|
||||||
engine->outputChannels.rawPpsPrimary,
|
Sensor::getRaw(SensorType::AcceleratorPedalPrimary),
|
||||||
engine->outputChannels.rawPpsSecondary,
|
Sensor::getRaw(SensorType::AcceleratorPedalSecondary),
|
||||||
engine->outputChannels.rawMap,
|
Sensor::getRaw(SensorType::MapSlow),
|
||||||
engine->outputChannels.rawClt,
|
Sensor::getRaw(SensorType::Iat),
|
||||||
engine->outputChannels.rawIat,
|
Sensor::getRaw(SensorType::Clt),
|
||||||
engine->outputChannels.rawBattery,
|
Sensor::getRaw(SensorType::BatteryVoltage),
|
||||||
};
|
};
|
||||||
|
|
||||||
// send the first packet
|
// send the first packet
|
||||||
|
|
Loading…
Reference in New Issue