Class HolonomicController

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

public class HolonomicController extends Object
  • Field Details

  • Constructor Details

    • HolonomicController

      public HolonomicController()
  • Method Details

    • setConstraintType

      public void setConstraintType(HolonomicController.ConstraintType type, edu.wpi.first.math.geometry.Pose2d robotPose, edu.wpi.first.math.geometry.Pose2d goalPose)
    • reset

      public void reset(edu.wpi.first.math.geometry.Pose2d startPose, edu.wpi.first.math.geometry.Pose2d goalPose)
    • reset

      public void reset(edu.wpi.first.math.geometry.Pose2d robotPose, edu.wpi.first.math.kinematics.ChassisSpeeds robotChassisSpeeds, edu.wpi.first.math.geometry.Pose2d goalPose)
    • calculate

      public edu.wpi.first.math.kinematics.ChassisSpeeds calculate(edu.wpi.first.math.geometry.Pose2d goalPose, edu.wpi.first.math.geometry.Pose2d currentPose)
    • calculate

      public edu.wpi.first.math.kinematics.ChassisSpeeds calculate(edu.wpi.first.math.geometry.Pose2d goalPose, edu.wpi.first.math.kinematics.ChassisSpeeds goalSpeed, edu.wpi.first.math.geometry.Pose2d currentPose)
    • atGoal

      public boolean atGoal()
    • getPositionGoal

      public edu.wpi.first.math.geometry.Pose2d getPositionGoal()
    • getPositionSetpoint

      public edu.wpi.first.math.geometry.Pose2d getPositionSetpoint()
    • atPositionTimeout

      public boolean atPositionTimeout()
    • getVelocitySetpoint

      public edu.wpi.first.math.kinematics.ChassisSpeeds getVelocitySetpoint()
    • getPoseError

      public edu.wpi.first.math.geometry.Pose2d getPoseError()
    • updateAlignmentControllers

      public void updateAlignmentControllers()