java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.Robot24

public class Robot24 extends Object
Encapsulates all of the components that make up a robot. A simple way to centralize initialization in one place (to avoid duplicated code across OpModes) and make it easier to work with multiple different robots, each of which is defined by a Robot24.Parameters class. The Parameters also contain calibration values that tune certain fine behaviors to each robot. An OpMode no longer needs to set up every individual motor and servo. It needs only to create a robot and use the powerful and convenient methods provided by its subsystems.
  • Field Details

  • Constructor Details

    • Robot24

      public Robot24(Robot24.Parameters parameters, com.qualcomm.robotcore.hardware.HardwareMap hardwareMap)
      Pass in an ElapsedTime to be used by subsystems. Useful for dependency injection. The other constructor creates a normal ElapsedTime.
  • Method Details

    • update

      public void update()
      Call this method in the loop portion of your OpMode.