Vehicle Control Unit 0.01
This is the c library for controlling the car.
|
#include "../../../Inc/Systems/Monitor/AppsMonitor.h"
#include "../../../Inc/Utils/Common.h"
#include <math.h>
Go to the source code of this file.
Functions | |
void | initAppsMonitor (AppsMonitor *am, Apps *apps, int hz) |
int | startAppsMonitor (AppsMonitor *am) |
int | checkAppsMonitor (void *am) |
void | checkAppsLimit (Apps *apps) |
Checks App limits for faults. More... | |
void checkAppsLimit | ( | Apps * | apps | ) |
Checks App limits for faults.
Checks if apps are more than 10% out of sync and if the values are reasonable. Position is in % of pedal travel.
apps | A pointer to the APPs structure. |
Definition at line 37 of file AppsMonitor.c.
int checkAppsMonitor | ( | void * | am | ) |
Definition at line 23 of file AppsMonitor.c.
void initAppsMonitor | ( | AppsMonitor * | am, |
Apps * | apps, | ||
int | hz | ||
) |
Definition at line 6 of file AppsMonitor.c.
int startAppsMonitor | ( | AppsMonitor * | am | ) |
Definition at line 13 of file AppsMonitor.c.