Class SetRobotHeadingCommand

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
xbot.common.command.BaseCommand
xbot.common.subsystems.pose.commands.SetRobotHeadingCommand
All Implemented Interfaces:
Sendable, IPropertySupport

public class SetRobotHeadingCommand extends BaseCommand
  • Field Details

  • Constructor Details

    • SetRobotHeadingCommand

      @Inject public SetRobotHeadingCommand(BasePoseSubsystem poseSubsystem)
  • Method Details

    • runsWhenDisabled

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

      public void setHeadingToApply(double heading)
    • setHeadingToApply

      public void setHeadingToApply(Supplier<Double> headingSupplier)
    • initialize

      public void initialize()
      Specified by:
      initialize in class BaseCommand
    • execute

      public void execute()
      Overrides:
      execute in class Command
    • isFinished

      public boolean isFinished()
      Overrides:
      isFinished in class Command