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 pGoalPose, edu.wpi.first.math.geometry.Pose2d pCurrentPose) edu.wpi.first.math.kinematics.ChassisSpeedscalculate(edu.wpi.first.math.geometry.Pose2d pGoalPose, edu.wpi.first.math.kinematics.ChassisSpeeds pGoalSpeed, edu.wpi.first.math.geometry.Pose2d pCurrentPose) 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 pStartPose, edu.wpi.first.math.geometry.Pose2d pGoalPose) voidreset(edu.wpi.first.math.geometry.Pose2d pRobotPose, edu.wpi.first.math.kinematics.ChassisSpeeds pRobotChassisSpeeds, edu.wpi.first.math.geometry.Pose2d pGoalPose) voidvoid
-
Field Details
-
tXP
-
tXD
-
tXI
-
tXIZone
-
tXIRange
-
tXMaxVMPS
-
tXMaxAMPSS
-
tXS
-
tXV
-
tXToleranceMeters
-
tYP
-
tYD
-
tYI
-
tYIZone
-
tYIRange
-
tYMaxVMPS
-
tYMaxAMPSS
-
tYS
-
tYV
-
tYToleranceMeters
-
tOmegaP
-
tOmegaD
-
tOmegaI
-
tOmegaIZone
-
tOmegaIRange
-
tOmegaMaxVDPS
-
tOmegaMaxADPSS
-
tOmegaS
-
tOmegaV
-
tOmegaToleranceDegrees
-
tDistanceMaxVMPS
-
tDistanceMaxAMPSS
-
tDistanceToleranceMeters
-
tFFRadius
-
-
Constructor Details
-
HolonomicController
public HolonomicController()
-
-
Method Details
-
setConstraintType
-
reset
public void reset(edu.wpi.first.math.geometry.Pose2d pStartPose, edu.wpi.first.math.geometry.Pose2d pGoalPose) -
reset
public void reset(edu.wpi.first.math.geometry.Pose2d pRobotPose, edu.wpi.first.math.kinematics.ChassisSpeeds pRobotChassisSpeeds, edu.wpi.first.math.geometry.Pose2d pGoalPose) -
calculate
public edu.wpi.first.math.kinematics.ChassisSpeeds calculate(edu.wpi.first.math.geometry.Pose2d pGoalPose, edu.wpi.first.math.geometry.Pose2d pCurrentPose) -
calculate
public edu.wpi.first.math.kinematics.ChassisSpeeds calculate(edu.wpi.first.math.geometry.Pose2d pGoalPose, edu.wpi.first.math.kinematics.ChassisSpeeds pGoalSpeed, edu.wpi.first.math.geometry.Pose2d pCurrentPose) -
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()
-