Knowledge Base

Drive Block

output-onlinepngtools__231_.png  This block works for EV3 Robot! 

mceclip0.png

The Drive block drives the robot. It controls both motors, allowing the robot to perform different types of turns and driving maneuvers.

 

Additional Options

Click the Drive block's blue settings button mceclip1.png  to add additional parameters. 

2020-02-23_11-40-07.gif

Configuration

Parameter Description Compatible Blocks Range
Drive Power Controls the power (%) of both motors to drive the robot either forward or backward.

 

-100 to 100
Direction

Defines the direction of the drive.

N/A forward / backward
Duration (ms)

Defines the duration of the drive in milliseconds.

When this parameter is not added, by default the drive is endless.

 

0 to ∞
Steering

Controls the steering of the drive. The greater the magnitude of the number, the shorter the turn radius.

When this parameter is not added, by default the steering is 0 and the robot drives straight forward or straight backward.

 

-100 to 100

  

More Information

Check out this tutorial on controlling the steering of a drive using the Drive block's steering parameter.

 

Was this article helpful?
6 out of 8 found this helpful

Comments

Please sign in to leave a comment.

Powered by Zendesk