Moving "Strange Bot" Pro Preview

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1384
  • 04 Jul 2019

"Strange Bot" has two motors pointing in different directions. In the way the motors are placed on the robot, if we just put a block for moving forward, the robot would start spinning around its center.

How can we make this robot move in a straight direction? If we want to make this robot move forward or backward, its motors have to move in diverse directions. We have a few ways to accomplish this:

  • The slider of the Steering option for the Move Steering block to be on either end (left or right). With this settings of the block the two motors are moving in opposite directions.
  •  Start each engine separately. This can be achieved either by two motor blocks put in parallel or by Move Tank block.
    content picture

Let's look at a simple example: the task is to move the robot until it hits a wall and then to move back one rotation.

If we implement the movements of the robot in two threads, the program would look like this:
content picture

If we work with the Steering option, the program would look like this:

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Robotics with LEGO - Level 1.5 - Spy games
  • 56
  • 12:47
  • 135
Image for Level B1. "Spy gadgets". Robotics with LEGO
  • 30
  • 7:30
  • 108
Image for Lesson 1 - Strange Bot
  • 4
  • 4
  • 10
  • 3d_rotation 1