Vehicle Control Unit 0.01
This is the c library for controlling the car.
|
Go to the source code of this file.
Classes | |
struct | MotorController |
Functions | |
void | initMotorController (MotorController *mc, Esc *esc, App *app) |
Initializes the MotorController with the given ESC and APP. More... | |
float | getPedalPosition (const MotorController *mc) |
Gets the pedal position from the MotorController. More... | |
float | getMotorTemp (const MotorController *mc) |
Gets the motor temperature from the MotorController. More... | |
float getMotorTemp | ( | const MotorController * | mc | ) |
Gets the motor temperature from the MotorController.
mc | Pointer to the MotorController structure to query. |
Definition at line 17 of file MotorController.c.
float getPedalPosition | ( | const MotorController * | mc | ) |
Gets the pedal position from the MotorController.
mc | Pointer to the MotorController structure to query. |
Definition at line 10 of file MotorController.c.
void initMotorController | ( | MotorController * | mc, |
Esc * | esc, | ||
App * | app | ||
) |
Initializes the MotorController with the given ESC and APP.
mc | Pointer to the MotorController structure to initialize. |
esc | Pointer to the Esc structure. |
app | Pointer to the App structure. |
Definition at line 3 of file MotorController.c.