Aligning to a wall with a competition robot Pro Preview

In this tutorial, we demonstrate how to square on a wall. The process requires the robot to crash into the wall, or another solid object on the field, and to "stick" on it. If the robot was to an angle to the wall, the final result of that crush will be that the robot is now fully perpendicular to the wall. As we say in competitions - the robot has squared or aligned itself.

To access the full video please subscribe to


  • #1396
  • 08 Jul 2019

How to square on a wall

You need an attachment in the shape of a wall so that your robot can square itself to a wall. You also need a move motor block set to seconds.
Move for seconds is required because that prevents motors from stalling. With rotations or degrees, the program will not continue to the next block if the motor can't execute the command. With seconds, the program will continue to the next block when the given time elapses.

content picture

Using unlimited movement (aka ON) is also unacceptable because it requires sensor and that means that we must increase the of the robot and of the program.

Most of the times you need 100% power forward for about one second. The goal is to place the robot next to the wall, without spending too many seconds doing so.

Video Demonstration

Align to walls with Box Robot Two

Wall align with NXT

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for FLLCasts Off-season Challenge 2019
Course icon fllcasts
  • 23
  • 34:03
  • 54
Image for Navigation on the field using the walls
Lesson icon fllcasts
  • 2
  • 5
  • 0
  • 3d_rotation 3