Motion#
Introduction#
The blue Motion cards drive and turn the 123 Robot.
Below is a list of available cards:
drive 1 – Drives forward 1 step.
drive 2 – Drives forward 2 steps.
drive 4 – Drives forward 4 steps.
turn left – Turns in place 90 degrees to the left.
turn right – Turns in place 90 degrees to the right.
turn random – Turns right or left a random number of degrees.
turn around – Turns in place 180 degrees to the right.
drive until object – Drives forward until the Eye Sensor detects an object.
drive until crash – Drives forward until it detects a crash.
drive until line – Drives until it detects a line on the surface.
drive 1#
The drive 1 card makes the 123 Robot drive forward 1 step. One step is one square on a 123 Field.
Example
Drive forward 1 step, turn right, then drive forward 1 more step.
drive 2#
The drive 2 card makes the 123 Robot drive forward 2 steps. One step is one square on a 123 Field.
Example
Drive forward 2 steps, then honk.
drive 4#
The drive 4 card makes the 123 Robot drive forward 4 steps. One step is one square on a 123 Field.
Example
Glow green, then drive forward 4 steps.
turn left#
The turn left card makes the 123 Robot turn in place 90 degrees to the left.
Example
Turn left, then drive forward 1 step.
turn right#
The turn right card makes the 123 Robot turn in place 90 degrees to the right.
Example
Turn right 4 times to spin all the way around.
turn random#
The turn random card makes the 123 Robot turn right or left a random number of degrees.
Example
Turn a random amount, then drive forward 2 steps.
turn around#
The turn around card makes the 123 Robot turn in place 180 degrees to the right from its starting position.
Example
Drive forward 1 step, turn around, and drive back to where the robot started.
drive until object#
The drive until object card makes the 123 Robot drive forward until the Eye Sensor detects an object. An object needs to be approximately 18 mm from the Eye Sensor to be detected.
Example
Drive up to an object, then honk.
drive until crash#
The drive until crash card makes the 123 Robot drive forward until it detects a crash.
Example
Drive until the robot crashes into a wall, then act sad.
drive until line#
The drive until line card makes the 123 Robot drive until it detects a line on the surface it’s driving on.
Example
Drive until the robot reaches a line, then turn around.