EE149
/
FinalProject
Final Project files for mBed development.
Diff: main.h
- Revision:
- 34:3066686d5152
- Parent:
- 32:8b589710632b
- Child:
- 35:a1c14c6d9282
--- a/main.h Tue Dec 09 23:07:08 2014 +0000 +++ b/main.h Wed Dec 10 18:49:45 2014 +0000 @@ -17,12 +17,12 @@ #include <stdio.h> #include <math.h> #define TURN_SPEED 0.15 -#define DRIVE_SPEED 0.2 +#define DRIVE_SPEED 0.25 #define ERR_SUCCESS 0 #define ERR_FAILURE 1 #define DRIVE_RATE 1/50 #define TIME_FACT 1780 -#define CAL_SPEED .1 +#define CAL_SPEED .25 #define CLOSE_ENOUGH .0008 /** @brief Move the robot from its current position to (x,y) */ @@ -72,19 +72,6 @@ */ void left (float deg); -/** @brief Lower pen intro drawing position */ -void pen_down(); - -/** @brief Raise pen into moveto position */ -void pen_up(); - -/** - * @brief Controller decision logic. - * - * Decide what to do next based on the status of the drawing so far. - */ -void next_action(); - /** * @brief Wait for a number of seconds, possibly fractional. *