TRR2018 omar

Dependencies:   mbed

Fork of biniou by TRR 2018

Committer:
GaspardD
Date:
Sun Sep 09 23:14:53 2018 +0000
Revision:
11:bc24b3ba51a9
Parent:
8:1d8c3ca5e508
Child:
23:04d393220daa
avancement

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GaspardD 8:1d8c3ca5e508 1 #include "stateMachines.h"
ohlimi2 1:abed67ad1d03 2
ohlimi2 1:abed67ad1d03 3 int main()
ohlimi2 1:abed67ad1d03 4 {
ohlimi2 1:abed67ad1d03 5
GaspardD 11:bc24b3ba51a9 6 mursInit();
GaspardD 11:bc24b3ba51a9 7 #ifdef DLVV
GaspardD 11:bc24b3ba51a9 8 obstacleInit();
GaspardD 11:bc24b3ba51a9 9 #endif
GaspardD 11:bc24b3ba51a9 10 sectionInit();
GaspardD 11:bc24b3ba51a9 11 maxSpeedInit();
GaspardD 11:bc24b3ba51a9 12 throttleInit();
GaspardD 11:bc24b3ba51a9 13
GaspardD 11:bc24b3ba51a9 14
ohlimi2 1:abed67ad1d03 15
GaspardD 8:1d8c3ca5e508 16 while (1) {
GaspardD 11:bc24b3ba51a9 17
GaspardD 11:bc24b3ba51a9 18 mursUpdate();
GaspardD 11:bc24b3ba51a9 19 #ifdef DLVV
GaspardD 11:bc24b3ba51a9 20 obstacleUpdate();
GaspardD 11:bc24b3ba51a9 21 #endif
GaspardD 11:bc24b3ba51a9 22 sectionUpdate();
GaspardD 11:bc24b3ba51a9 23 maxSpeedUpdate();
GaspardD 11:bc24b3ba51a9 24 throttleUpdate();
GaspardD 11:bc24b3ba51a9 25
GaspardD 11:bc24b3ba51a9 26 mursOutput();
GaspardD 11:bc24b3ba51a9 27 #ifdef DLVV
GaspardD 11:bc24b3ba51a9 28 obstacleOutput();
GaspardD 11:bc24b3ba51a9 29 #endif
GaspardD 11:bc24b3ba51a9 30 sectionOutput();
GaspardD 11:bc24b3ba51a9 31 maxSpeedOutput();
GaspardD 11:bc24b3ba51a9 32 throttleOutput();
ohlimi2 1:abed67ad1d03 33 }
GaspardD 8:1d8c3ca5e508 34 }