This block works for EV3!
The Set Wheel Velocity block sets a target velocity (speed) for the robot's two wheels. It maintains a steady velocity for the robot's wheels by applying the correct motor power in order to reach and maintain the target velocity applied.
Each wheel's velocity can be set individually, with numbers ranging from -100 to 100.
Driving Straight
In order to drive the robot in a straight line, both wheels must turn at the same power and in the same direction:
Positive values will drive the robot forward, while negative values will drive the robot backward.
Turning
In order to turn, apply different values to wheels.
Here are some examples:
Different values of the same sign (positive or negative) will result in a smooth turn in the direction of the lower value:
Values of the same number but the opposite sign (positive and negative) will result in a screw turn (sometimes also called a point turn, or a turn in place/on the spot) in the direction of the wheel turning backward (negative value).
A 0 value in one of the motors will result in a pivot turn, where the robot spins on the axle of the wheel who's motor is at 0 power:
Comments
Please sign in to leave a comment.