1 #include "can/canread.h"
3 using openxc::can::read::publishNumericalMessage;
5 void handleSteeringWheelMessage(CanMessage* message,
6 CanSignal* signals, int signalCount, Pipeline* pipeline) {
7 publishNumericalMessage("latitude", 42.0, pipeline);
10 openxc_DynamicField handleInverted(CanSignal* signal, CanSignal* signals,
11 int signalCount, float value, bool* send) {
12 return openxc::payload::wrapNumber(value * -1);
15 void initializeMyStuff() { }
17 void initializeOtherStuff() { }
20 // this function will be called once each time through the main loop, after
21 // all CAN message processing has been completed