Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
thats not what I askedI was wondering how to put servos to a specific position using webbot lib (or in continuous rotation a certain speed)
act_setSpeed(&left_wheel,DRIVE_SPEED_MIN);act_setSpeed(&right_wheel,DRIVE_SPEED_MAX);
float fractionA;float fractionB;calculate_fractions();act_setSpeed(&left_wheel,DRIVE_SPEED_MAX*fractionA);act_setSpeed(&right_wheel,DRIVE_SPEED_MAX*fractionB);
act_setSpeed(&right,0);
if I want to set a continuous rotation servo to any speed I'll just toy around with the "0" after the "&right, " until I get what speed and direction I want?