Class SwerveDriveSysId

java.lang.Object
com.stuypulse.robot.opmodes.sysid.SwerveDriveSysId
All Implemented Interfaces:
AutoCloseable, org.wpilib.opmode.OpMode

public class SwerveDriveSysId extends Object implements org.wpilib.opmode.OpMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.wpilib.command3.Command
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SwerveDriveSysId(Swerve swerve, org.wpilib.command3.sysid.SysIdRoutine.Direction direction, BiFunction<org.wpilib.command3.sysid.SysIdRoutine, org.wpilib.command3.sysid.SysIdRoutine.Direction, org.wpilib.command3.Command> sysIdFunction)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    end()
     
    void
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wpilib.opmode.OpMode

    close, disabledPeriodic, getCallbacks, periodic
  • Field Details

    • routine

      private final org.wpilib.command3.Command routine
  • Constructor Details

    • SwerveDriveSysId

      public SwerveDriveSysId(Swerve swerve, org.wpilib.command3.sysid.SysIdRoutine.Direction direction, BiFunction<org.wpilib.command3.sysid.SysIdRoutine, org.wpilib.command3.sysid.SysIdRoutine.Direction, org.wpilib.command3.Command> sysIdFunction)
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.wpilib.opmode.OpMode
    • end

      public void end()
      Specified by:
      end in interface org.wpilib.opmode.OpMode