Lesson 2, Part 2: Programming Movement

In this lesson, we’ll learn about the different programming blocks used to make the Spike Prime robot move. You’ll be able to use different types of movement blocks and units of measurement, which are useful tools in controlling your robot.

Table of contents

  1. Video
  2. Quiz

Video

Quiz

What is the main difference between blue blocks and pink blocks? Blue blocks are for controlling multiple motors at once, and pink blocks are for one motor. Blue blocks are for driving straight, and pink blocks are for turning. Blue blocks are for controlling one motor, and pink blocks are for controlling multiple motors for movement. Blue blocks are for precise movement, and pink blocks are for general movement. You want your robot to make a sharp left turn. What number would you use in the movement block's direction setting? A number between 1 and 100. A number between -1 and -100. A number exactly at 0. A number exactly at 100. Why is it important to use the "set movement motors to" block when you want to make your robot drive? It tells the robot which motors to use for movement. It sets the speed of the robot. It tells the robot how far to move. It changes the direction the robot is facing. Why would one rotation of a motor not always make your robot travel the same distance? Because the motor might spin at a different speed. Because the color of the mat changes. Because the size of the wheels can be different. Because the hub is not fully charged. What would be the best unit of measurement to make a motor spin for a specific amount of time? Degrees. Centimeters. Seconds. Rotations.