IF_Task3

Dependencies:   mbed

Bertl_Task3.cpp

Committer:
matthiasdorudi
Date:
2015-04-17
Revision:
0:4a495b04cc0f

File content as of revision 0:4a495b04cc0f:

#include "mbed.h"
#include "const.h"
#include "ur_Bertl.h"
#include "Bertl_Task3.h"

bool Bertl_Task3 :: RightIsClear(){
    bool clear;
    TurnLeft(); 
    TurnLeft();
    TurnLeft();  
    
    clear = FrontIsClear();
    
    TurnLeft();
        
    return clear; 
}