Class HolonomicController
java.lang.Object
frc.robot.systems.drive.controllers.HolonomicController
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumberstatic final LoggedTunableNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanatGoal()booleanedu.wpi.first.math.kinematics.ChassisSpeedscalculate(edu.wpi.first.math.geometry.Pose2d goalPose, edu.wpi.first.math.geometry.Pose2d currentPose) edu.wpi.first.math.kinematics.ChassisSpeedscalculate(edu.wpi.first.math.geometry.Pose2d goalPose, edu.wpi.first.math.kinematics.ChassisSpeeds goalSpeed, edu.wpi.first.math.geometry.Pose2d currentPose) edu.wpi.first.math.geometry.Pose2dedu.wpi.first.math.geometry.Pose2dedu.wpi.first.math.geometry.Pose2dedu.wpi.first.math.kinematics.ChassisSpeedsvoidreset(edu.wpi.first.math.geometry.Pose2d startPose, edu.wpi.first.math.geometry.Pose2d goalPose) voidreset(edu.wpi.first.math.geometry.Pose2d robotPose, edu.wpi.first.math.kinematics.ChassisSpeeds robotChassisSpeeds, edu.wpi.first.math.geometry.Pose2d goalPose) voidsetConstraintType(HolonomicController.ConstraintType type, edu.wpi.first.math.geometry.Pose2d robotPose, edu.wpi.first.math.geometry.Pose2d goalPose) void
-
Field Details
-
xP
-
xD
-
xI
-
xIZone
-
xIRange
-
xMaxVMPS
-
xMaxAMPSS
-
xS
-
xV
-
xToleranceMeters
-
yP
-
yD
-
yI
-
yIZone
-
yIRange
-
yMaxVMPS
-
yMaxAMPSS
-
yS
-
yV
-
yToleranceMeters
-
omegaP
-
omegaD
-
omegaI
-
omegaIZone
-
omegaIRange
-
omegaMaxVDPS
-
omegaMaxADPSS
-
omegaS
-
omegaV
-
omegaToleranceDegrees
-
distanceMaxVMPS
-
distanceMaxAMPSS
-
distanceToleranceMeters
-
ffRadius
-
-
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()
-