TRR2018 omar

Dependencies:   mbed

Fork of biniou by TRR 2018

main.cpp

Committer:
GaspardD
Date:
2018-09-09
Revision:
11:bc24b3ba51a9
Parent:
8:1d8c3ca5e508
Child:
23:04d393220daa

File content as of revision 11:bc24b3ba51a9:

#include "stateMachines.h"

int main()
{

mursInit();
#ifdef DLVV
obstacleInit();
#endif 
sectionInit();  
maxSpeedInit();
throttleInit(); 



    while (1) {
       
        mursUpdate();
        #ifdef DLVV
        obstacleUpdate();
        #endif
        sectionUpdate(); 
        maxSpeedUpdate();
        throttleUpdate();
       
        mursOutput();
        #ifdef DLVV 
        obstacleOutput();
        #endif
        sectionOutput(); 
        maxSpeedOutput();
        throttleOutput(); 
    }
}