Class FtcRobotDrive

java.lang.Object
ftclib.drivebase.FtcRobotDrive
Direct Known Subclasses:
FtcDifferentialDrive, FtcMecanumDrive, FtcSwerveDrive

public class FtcRobotDrive extends Object
This class is intended to be extended by subclasses implementing different robot drive bases.
  • Field Details

  • Constructor Details

    • FtcRobotDrive

      public FtcRobotDrive(FtcRobotDrive.RobotInfo robotInfo)
      Constructor: Create an instance of the object.
      Parameters:
      robotInfo - specifies the Robot Info.
  • Method Details

    • cancel

      public void cancel(String owner)
      This method cancels any drive operation still in progress.
      Parameters:
      owner - specifies the owner that requested the cancel.
    • cancel

      public void cancel()
      This method cancels any drive operation still in progress.
    • configDriveBase

      protected void configDriveBase(TrcDriveBase driveBase)
      This method configures the rest of drive base after it has been created.
      Parameters:
      driveBase - specifies the created drive base.