Vehicle Control Unit 0.01
This is the c library for controlling the car.
|
#include "../../../Inc/Utils/Constants.h"
#include "../../../Inc/Systems/Controller/RTD.h"
#include "../../../Inc/Systems/ControllerSystem.h"
#include "../../../Inc/Utils/Common.h"
Go to the source code of this file.
Functions | |
void | initRTD (RTD *rtd, Apps *apps, BrakeSystemControl *bsc, int hz, int buttonPort, int piezoPort) |
Initializes the RTD Actuator with initial settings. More... | |
int | startRTD (RTD *rtd) |
Starts the RTD Actuator. More... | |
int | updateRTD (ControllerSystem *controller) |
Updates the RTD Actuator. More... | |
int | checkRTD (void *rtd) |
Checks if RTD is in ready to drive state. More... | |
int checkRTD | ( | void * | rtd | ) |
void initRTD | ( | RTD * | rtd, |
Apps * | apps, | ||
BrakeSystemControl * | bsc, | ||
int | hz, | ||
int | buttonPort, | ||
int | piezoPort | ||
) |
Initializes the RTD Actuator with initial settings.
rtd | A pointer to the RTD structure. |
hz | Rate at which the sensor is called (in hz). |
Definition at line 6 of file RTD.c.
int startRTD | ( | RTD * | rtd | ) |
Starts the RTD Actuator.
rtd | A pointer to the RTD structure. |
Definition at line 23 of file RTD.c.
int updateRTD | ( | ControllerSystem * | controller | ) |
Updates the RTD Actuator.
controller | A pointer to the RTD ControllerSystem. |
Definition at line 37 of file RTD.c.