Alexandre Salconi-Denis
/
ProjetOctopode
Programme de contrôle de l'octopode 4DOF, Theraphosa-Salconi.
CtrlBridge
- fonction quelquonque pour communiquer avec les module
- fonction quelquonque pour faire des recherche dans les module dispo
- autre fonction pour jouer avec MemRegistre
Version 1.2.0
- Ajout d'un mode de simulation pour tester le code avec seulement un contrôleur stm32
Diff: labyrinthe.h
- Revision:
- 39:34d7802e8d15
- Parent:
- 38:57d5f36a0333
--- a/labyrinthe.h Mon Oct 05 23:46:11 2015 +0000 +++ b/labyrinthe.h Thu Oct 15 00:49:37 2015 +0000 @@ -58,7 +58,7 @@ }; enum case_t{ - error =-1, + //error =-1, pasExplorer = 0, explorer = 1, mur = 2, @@ -91,6 +91,15 @@ void moveToRight(void){moveToRight(direction);} void moveToRight(char dir); +void getXY_Foward(signed char &x, signed char &y){getXY_Foward(x,y,direction);} +void getXY_Foward(signed char &x, signed char &y,char dir); +void getXY_Backward(signed char &x, signed char &y){getXY_Backward(x,y,direction);} +void getXY_Backward(signed char &x, signed char &y,char dir); +void getXY_Left(signed char &x, signed char &y){getXY_Left(x,y,direction);} +void getXY_Left(signed char &x, signed char &y, char dir); +void getXY_Right(signed char &x, signed char &y){getXY_Right(x,y,direction);} +void getXY_Right(signed char &x, signed char &y, char dir); + void turnBack(void); void turnLeft(void); void turnRight(void);