mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2024-09-28 08:13:06 +02:00
25 lines
343 B
C
25 lines
343 B
C
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
#include "CF.h"
|
|
#include "securite.h"
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
|
|
(void)argc;
|
|
(void)argv;
|
|
|
|
configureCF();
|
|
configureSecurite();
|
|
|
|
float f, b;
|
|
|
|
for (;;) {
|
|
getDistance(&f, &b);
|
|
printf("Av: %6f Ar: %6f\n", f, b);
|
|
sleep(1);
|
|
}
|
|
}
|