FORWARD AND
BACKWARD
Programming
QUANTITY
(Can be whole number or
decimal number)
UNIT TYPE
(Can be rotations, degrees,
seconds, minutes, milliseconds)
it is advisable to use rotations for
forward and backward
SPEED
(1-100)
ARM CONTROL
Move Motor
ARM CONTROL
moveMotor
Turns the specified motor at the specified speed
for the specified quantity of units.
Command that is being used to move or control
the arm of the robot.
moveMotor Command:
Motor Port
The name of the
motor that the
command will
control.
moveMotor Command:
Quantity
The number of units
that must pass
before the motor
stops moving.
moveMotor Command:
Unit Type
The type of unit used
by quantity
(degrees)
moveMotor Command:
Speed
The speed at which
the motor moves.
ARM CONTROL
motor10 or armMotor is the
port used for the arm control
ARM CONTROL
To move the arm up:
315 degrees, positive power level is being
used
ARM CONTROL
To move the arm down:
-315 degrees is being used.
ARM CONTROL
To move the arm up and down we use
the unit type degrees.
CLAW CONTROL
PORT/MOTOR 11
The port where the Claw Motor
is connected
CLAW CONTROL
motor11 or clawMotor is the
port used for the claw control
CLAW CONTROL
To close the claw: 1 second, positive power level
To open the claw: -1 second, negative power level
CLAW CONTROL
NOTE:
To avoid claw motor from getting stuck, consider
using seconds (or milliseconds) as the unit type.