ARES
/
Timer
Time is good
Fork of Robot2016_2-0 by
entete.h
- Committer:
- IceTeam
- Date:
- 2016-05-06
- Revision:
- 93:c0b040954eac
- Parent:
- 92:f09f55aa992b
- Child:
- 94:86b9bd6d5c28
File content as of revision 93:c0b040954eac:
#ifndef FONCTIONS_H #define FONCTIONS_H #include "RoboClaw/RoboClaw.h" #include "mbed.h" /* Classes du projet : AX12 Roboclaw StepperMotor AX12 */ 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 (); void init_globals(); //vFonctions deplacement.cpp void GotoDist (float timer); void GotoArr(float timer); void GotoThet(double theta_); // Fonctions test.cpp // 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