scratch-MovingStraight
scratch-MovingStraight
PROGRAMMING
LESSON
C
This one determines which
motors are connected to the
left & right wheels
This determines what the robot
doesat the end of a move block
(brake/hold or float/coast)
This sets the “default” speed
for later move blocks
C
Power/Speed
Brake/Coast
Direction
Set in configuration
Mode of operation
Duration/Distance
C
Steering
Power/Speed
Brake/Coast
Set in configuration
Mode of operation
Duration/Distance
C
Steering Mode of operation Brake/Coast
Set in configuration
Duration/Distance Move Speed
This is like the move steering block. However instead of using the
configured “default” speed, you specify the speed within the
block. This is useful if you have one move that you want to do
more slowly or quickly.
© EV3Lessons.com, 2020, Last Update: (12/21/2019)
MOVE TANK BLOCK
C
Duration/Distance Brake/Coast
Positive Power
You can enter negative values for power or distance = Forward
This will make the robot move backwards
If you negate two values (e.g. power and distance or distance and
backwards direction), the robot will move forward.
© EV3Lessons.com, 2020, Last Update: (12/21/2019)
HOW TO MAKE A PROGRAM
C
B
START
C
B
starts at 0 degrees.
• Move your robot with your hand from the start line
to the end line. Make sure that your wheel turns
smoothly and doesn’t slip as the robot moves.
• Read how many degrees your robot moved
• Use this number in the Move Steering Block to
move the correct distance.
• Read the lesson on Port View for more information
ANS. Move until stopped or the program Note that this is a different
behavior than EV3-G users
ends. Note that the program will not end
might be familiar with.
unless you have a Stop Program block.
Start and Stop Moving blocks are typically used along with wait
blocks. Wait blocks hold up the program execution until some
event occurs. The lessons on sensors cover wait blocks in more
detail.
For now, we will use the Wait for Seconds block