Class Robi2MotorDemo

  • All Implemented Interfaces:
    Ippc32, Actionable

    public class Robi2MotorDemo
    extends Task
    Robi2 Motor Demo. Use the given commands to control the Robi.
    • Constructor Detail

      • Robi2MotorDemo

        public Robi2MotorDemo()
    • Method Detail

      • driveFullSpeedForward

        public static void driveFullSpeedForward()
        Drive forward with full speed.
      • driveHalfSpeedForward

        public static void driveHalfSpeedForward()
        Drive forward with half speed.
      • driveFullSpeedBackward

        public static void driveFullSpeedBackward()
        Drive backward with full speed.
      • driveHalfSpeedBackward

        public static void driveHalfSpeedBackward()
        Drive backward with half speed.
      • turnRight

        public static void turnRight()
        Turn right around (clockwise).
      • turnLeft

        public static void turnLeft()
        Turn left around (anticlockwise).
      • stop

        public static void stop()
        Stop both motors.
      • startTask

        public static void startTask()
        Start automatic demo mode.
      • stopTask

        public static void stopTask()
        Stop automatic demo mode.
      • action

        public void action()
        Description copied from class: Task
        Action to be performed by the task
        Specified by:
        action in interface Actionable
        Overrides:
        action in class Task