Class SetAutonomousCommand

java.lang.Object
org.wpilib.command2.Command
xbot.common.command.BaseCommand
xbot.common.subsystems.autonomous.SetAutonomousCommand
All Implemented Interfaces:
AutoCloseable, org.wpilib.telemetry.TelemetryLoggable, org.wpilib.tunable.ComplexTunable, TunablePrefixProvider

public class SetAutonomousCommand extends BaseCommand
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.wpilib.command2.Command

    org.wpilib.command2.Command.InterruptionBehavior
  • Field Summary

    Fields inherited from class BaseCommand

    aKitLog, log, monitor, runningAlert
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    boolean
     
    boolean
     
    void
    setAutoCommand(org.wpilib.command2.Command autonomousCommand)
     
    void
    setAutoCommand(org.wpilib.command2.Command autonomousCommand, org.wpilib.math.geometry.Pose2d startingPosition)
     

    Methods inherited from class org.wpilib.command2.Command

    addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getTelemetryType, getTunableType, handleInterrupt, hasRequirement, ignoringDisable, isScheduled, logTo, onlyIf, onlyWhile, publishTunable, raceWith, repeatedly, setName, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout

    Methods inherited from class Object

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

    Methods inherited from interface org.wpilib.tunable.ComplexTunable

    publishChildTunable, publishChildTunable, removeChildTunable, setChildTunableChanged, updateTunable
  • Constructor Details

  • Method Details

    • runsWhenDisabled

      public boolean runsWhenDisabled()
      Overrides:
      runsWhenDisabled in class BaseCommand
    • setAutoCommand

      public void setAutoCommand(org.wpilib.command2.Command autonomousCommand)
    • setAutoCommand

      public void setAutoCommand(org.wpilib.command2.Command autonomousCommand, org.wpilib.math.geometry.Pose2d startingPosition)
    • initialize

      public void initialize()
      Overrides:
      initialize in class BaseCommand
    • execute

      public void execute()
      Overrides:
      execute in class org.wpilib.command2.Command
    • isFinished

      public boolean isFinished()
      Overrides:
      isFinished in class org.wpilib.command2.Command