Class HeadingController

java.lang.Object
frc.robot.systems.drive.controllers.HeadingController

public class HeadingController extends Object
  • Field Details

  • Constructor Details

    • HeadingController

      public HeadingController()
  • Method Details

    • setHeadingGoal

      public void setHeadingGoal(Supplier<edu.wpi.first.math.geometry.Rotation2d> goalSupplier)
    • reset

      public void reset(edu.wpi.first.math.geometry.Rotation2d robotRotation, edu.wpi.first.math.geometry.Rotation2d robotRotationPerSecond)
    • getSnapOutput

      public double getSnapOutput(edu.wpi.first.math.geometry.Rotation2d robotRotation)
    • getStabilizingOutput

      public double getStabilizingOutput(edu.wpi.first.math.geometry.Rotation2d robotRotation, double velocityDPS)
    • updateHeadingController

      public void updateHeadingController()