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> pGoalSupplier)
    • reset

      public void reset(edu.wpi.first.math.geometry.Rotation2d pRobotRotation, edu.wpi.first.math.geometry.Rotation2d pRobotRotationPerSecond)
    • getSnapOutput

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

      public double getStabilizingOutput(edu.wpi.first.math.geometry.Rotation2d pRobotRotation, double pVelocityDPS)
    • updateHeadingController

      public void updateHeadingController()