Elisa3
behaviors.h
Go to the documentation of this file.
00001 
00002 #ifndef BEHAVIORS_H
00003 #define BEHAVIORS_H
00004 
00020 #include "variables.h"
00021 #include <math.h>
00022 #include <stdlib.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00033 void initBehaviors();
00034 
00041 void obstacleAvoidance(signed int *pwmLeft, signed int *pwmRight);
00042 
00053 char cliffDetected();
00054 
00059 void enableObstacleAvoidance();
00060 
00065 void disableObstacleAvoidance();
00066 
00071 void enableCliffAvoidance();
00072 
00077 void disableCliffAvoidance();
00078 
00079 
00080 #ifdef __cplusplus
00081 } // extern "C"
00082 #endif
00083 
00084 #endif
 All Files Functions Variables Defines