Skip to content
IncredibotsAcademy

Java playground

Real Java, compiled against stub FTC SDK classes and run against a simulated robot. Nothing here touches hardware, so you cannot break anything — experiment freely.

The simulated robot

  • Motors: left_front left_back right_front right_back
  • Servo: claw
  • The driver pushes forward for the first half of the run, then turns right, and presses A near the end.

Exercise

Java playground

Write any OpMode you like. It runs against a four-motor robot named left_front, left_back, right_front, right_back, plus a servo named claw. The gamepad drives forward for the first half of the run, then turns.

Write your code, then run the tests. They check behaviour, not wording — there is more than one correct answer.

Working through the lessons instead? Go to the Programming track.