1#ifndef RENSSELAERMOTORSPORT_APP_H
2#define RENSSELAERMOTORSPORT_APP_H
4#include "../AnalogSensor.h"
float getAppPosition(App *app)
Gets the current position of the APP.
void initApp(App *app, int hz, int channel)
Initializes the APP with the given frequency and channel.
void setAppPos(App *app, float pos)
Sets pedal position in app sensor.
float transferFunctionApp(float rawVal)
Converts raw APP data to a meaningful position value.
void updateApp(void *app)
Updates the APP data.