-
- All Implemented Interfaces:
public final class HolonomicController
Proportional position-velocity controller for a holonomic robot.
-
-
Field Summary
Fields Modifier and Type Field Description public final Double
axialPosGain
public final Double
lateralPosGain
public final Double
headingGain
public final Double
axialVelGain
public final Double
lateralVelGain
public final Double
headingVelGain
-
Method Summary
Modifier and Type Method Description final Twist2dDual<Time>
compute(Pose2dDual<Time> targetPose, Pose2d actualPose, Twist2d actualVelActual)
Computes the velocity and acceleration command. -
-
Method Detail
-
compute
final Twist2dDual<Time> compute(Pose2dDual<Time> targetPose, Pose2d actualPose, Twist2d actualVelActual)
Computes the velocity and acceleration command. The frame
Target
is the reference robot, and the frameActual
is the measured, physical robot.
-
-
-
-