Moving the robot
Set speed
vm(int r_wheel, int l_wheel, int dummy);
Speeds are given in 0.1 in/sec.
vm(100, 100, 0); /*forward at 10 in/sec*/
Stop
st(); /*stop the robot*/
ws(1,1,0); /*wait until both wheels stop*/
Previous slide
Next slide
Back to first slide
View graphic version