java.lang.Object
org.firstinspires.ftc.teamcode.fy25.robots.Robot25

public class Robot25 extends Object
Represents a complete robot consisting of up to 5 subsystems. Basically, constructing this will construct all of the subsystems for you, which in turn do all of the low-level hardware setup work.

Call methods of subsystems to perform actions. For example, to open the claw: robot.claw.setState(Claw.State.OPEN); Or to start driving forward: robot.drive.applyDTS(new DTS(1, 0, 0));

Programmers who are used to working directly with the SDK to write complete TeleOps might appreciate turning about 120 lines of boilerplate code and a different OpMode for each robot into the following line in a single OpMode: Robot25 robot = new Robot25(RobotRoundhouse25.getParamsAuto(), hardwareMap); Or, new this year: Robot25 robot = RobotRoundhouse25.getRobotAuto(hardwareMap);

See RobotRoundhouse25 to find Robot25.Parameters to pass in here.

  • Field Details

  • Constructor Details

  • Method Details

    • update

      public void update()
      Call this method in the loop portion of your OpMode. Remember this; some subsystems will not function at all if you forget!