Using Autopilot Programs - IQ Brain (1st gen)

The Autopilot program is a default program available in Robot Brain firmware v1.11 or higher. With the Autopilot program, your Autopilot Robot (see the Clawbot IQ Build Instructions) can explore a room by itself - no Controller needed. It contains three built-in in modes for exploring: Random, Spiral, and Lawnmower mode.

Random Mode

Diagram representing the Random Mode Autopilot program. Above, the robot is shown encountering an obstacle and turning in a random direction. Below, the Color Sensor is shown responding to the color red and the Touch LED is glowing red.

The robot will randomly explore your room by driving in a straight line. When it encounters obstacles, it will back up, spin a random amount, and depart in a new direction.

This is the default Autopilot explore mode; tapping the Touch LED during this mode will change to Spiral Mode.

The Touch LED will illuminate red when in this mode; when the Color Sensor sees a red object, the robot will change to this mode.


Spiral Mode

Diagram representing the Spiral Mode Autopilot program. Above, the robot is shown driving in an outward spiral. Below, the Color Sensor is shown responding to the color blue and the Touch LED is glowing blue.

The robot will begin to explore by driving in a spiral with an ever increasing radius. When it encounters an obstacle, the robot will drive to a new location and begin to spiral again.

Tapping the Touch LED during this mode will change to either Lawnmower Mode if a Gyro Sensor is attached, or Random Mode if the Gyro Sensor is not attached.

The Touch LED will illuminate blue in this mode; when the Color Sensor sees a blue object, the robot will change to this mode.


Lawnmower Mode

Diagram representing the Lawnmower Mode Autopilot program. Above, the robot is shown driving in parallel rows as if mowing a lawn. Below, the Color Sensor is shown responding to the color green and the Touch LED is glowing green.

The robot will begin to explore your room by driving back and forth, as if it were mowing a lawn. When it encounters an obstacle, it will turn away and continue in the opposite direction.

Tapping the Touch LED during this mode will change to Random Mode.

The Touch LED will illuminate green in this mode; when the Color Sensor sees a green object, the robot will change to this mode.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: