ARES
/
Timer
Time is good
Fork of Robot2016_2-0 by
entete.h
- Committer:
- IceTeam
- Date:
- 2016-05-06
- Revision:
- 90:78d2c1527c95
- Parent:
- 89:46730de0d013
- Child:
- 92:f09f55aa992b
File content as of revision 90:78d2c1527c95:
#ifndef FONCTIONS_H #define FONCTIONS_H #include "RoboClaw/RoboClaw.h" #include "mbed.h" extern BusOut drapeau; extern RoboClaw roboclaw; extern AnalogIn Rcapt1; extern int RvalRcapt1; extern AnalogIn Rcapt2; extern int RvalRcapt2; extern AnalogIn Rcapt3; extern int RvalRcapt3; extern int Ravance; extern DigitalIn start; extern DigitalIn CAMP; extern DigitalIn START; extern DigitalOut LEDR; extern DigitalOut LEDV; extern DigitalIn button; extern int SCouleur; extern float R_SEUIL_SHARP; // Fonctions main.cpp void Sharps(); void endFonc (); //vFonctions deplacement.cpp void GotoThet (float timer, int signe); void GotoDist (float timer); void GotoArr(float timer); void GotoThet(double theta_); // Fonctions test.cpp void wait_start(); void TestDist3(float start, float pas); void TestThet3(float start, float pas); void compareThet(float start); // Fonctions couleur.cpp void depart(void); void changeCamp(void); #define ENTRAXE 243.8 #define accel_angle 400 #define vitesse_angle 400 #define deccel_angle 400 #define accel_dista 2000 #define vitesse_dista 2000 #define deccel_dista 2000 #define waiting_time 1 #define GAUCHE 1 #define DROITE -1 #define VERT 1 #define VIOLET 2 #define NOIR 3 #endif