8 #include "simpletools.h" 18 #ifdef interactive_development_mode 24 #ifdef interactive_development_mode 28 #ifdef interactive_development_mode 33 #ifdef interactive_development_mode 37 #ifdef interactive_development_mode 38 drive_displayControlSystem(0, 2500/11);
This library takes care of encoder monitoring and servo signalling, and provides a simple set of func...
void drive_goto(int distLeft, int distRight)
Make each wheel go a particular distance. Recommended for straight forward, backward, turns and pivots. Not recommended for curves. This function ramps up to full speed if the distance is long enough. It holds that speed until it needs to ramp down. After ramping down it applies compensation. This function is primarily a convenience for dead reckoning, and does not return until the maneuver has completed.
void drive_speed(int left, int right)
Set wheel speeds in encoder ticks per second. An encoder tick is 1/64th of a revolution, and makes causes the wheel to roll 3.25 mm.