The subsystem design/basis for the final project
Dependencies: mbed-rtos mbed-src pixylib
Diff: robot.h
- Revision:
- 6:52686c25e4af
- Parent:
- 5:f655435d0782
- Child:
- 8:b0478286ad21
- Child:
- 14:2d609d465f00
diff -r f655435d0782 -r 52686c25e4af robot.h --- a/robot.h Fri Mar 25 13:36:14 2016 +0000 +++ b/robot.h Fri Mar 25 15:18:33 2016 +0000 @@ -5,19 +5,9 @@ #define X_SETPOINT 160 #define HEIGHT_SETPOINT 100 -// Global Variables -// ---------------------------------------------------------------- -extern static float leftMotor, rightMotor; -extern int xTracked, heightTracked; -extern float speed, steering; - -// PI internal variables (TODO: move to object) -float steeringIntegral, speedIntegral; -float leftMotorIntegral, rightMotorIntegral; - // Function Prototypes // ---------------------------------------------------------------- void AutoTrack(void); void ManualControl(void); void RunMotor(void); -void RunNavigation(void); +void RunNavigation(void); \ No newline at end of file