1#include "../../../Inc/Sensors/AnalogSensors/SteeringColumn.h"
19 printf(
"Implement SteeringColumn Update.\n");
26 printf(
"Implement SteeringColumn::transfer_function\n");
void initAnalogSensor(AnalogSensor *analogSensor, const char *name, int hz, int channel)
Initializes an analog sensor and configures the corresponding GPIO pin.
float getSteeringColumnRotationAngle(SteeringColumn *sc)
Gets the current rotation angle of the steering column.
void initSteeringColumn(SteeringColumn *sc, int hz, int channel, float zeroOffset)
Initializes the SteeringColumn sensor with the given frequency, channel, and zero offset.
float transferFunctionSteeringColumn(float rawVal)
Converts raw steering column data to a meaningful rotation angle.
void updateSteeringColumn(void *sc)
Updates the SteeringColumn data.
void(* update)(void *self)