Raj Patel / Mbed 2 deprecated RoboticMappingControl

Dependencies:   mbed mbed-rtos Motor LSM9DS1_Library_cal X_NUCLEO_53L0A1

Committer:
rpatelpj
Date:
Thu Apr 25 22:13:21 2019 +0000
Revision:
20:d9a373fecd42
Parent:
17:e1a5d25218de
Added shortest rotation and conversion constants to RobotController

Who changed what in which revision?

UserRevisionLine numberNew contents of line
abh15 6:c119cc5d48d6 1 #ifndef GLOBALS_H
abh15 6:c119cc5d48d6 2 #define GLOBALS_H
abh15 6:c119cc5d48d6 3
rpatelpj 8:bfa4bf23522c 4 #include "mbed.h"
rpatelpj 17:e1a5d25218de 5 #include "rtos.h"
rpatelpj 8:bfa4bf23522c 6
abh15 7:00e6ac8fb52f 7 /**
abh15 7:00e6ac8fb52f 8 * Hardware declarations. Initializations will be in main.cpp
abh15 7:00e6ac8fb52f 9 */
abh15 6:c119cc5d48d6 10 extern Serial pc;
rpatelpj 8:bfa4bf23522c 11 extern BusOut led;
abh15 6:c119cc5d48d6 12 extern DigitalIn pb;
abh15 6:c119cc5d48d6 13
rpatelpj 8:bfa4bf23522c 14 /**
rpatelpj 8:bfa4bf23522c 15 * Data declarations. Initializations will be in main.cpp
rpatelpj 8:bfa4bf23522c 16 */
abh15 9:552805fac195 17 extern int* obstacles;
rpatelpj 8:bfa4bf23522c 18 extern int trajectoryLength;
abh15 9:552805fac195 19 extern int* trajectory;
rpatelpj 17:e1a5d25218de 20 extern uint32_t lidarDistance;
rpatelpj 20:d9a373fecd42 21 extern volatile bool useImu;
rpatelpj 8:bfa4bf23522c 22
abh15 6:c119cc5d48d6 23 #endif /* GLOBALS_H */