Class HolonomicController

  • All Implemented Interfaces:

    
    public final class HolonomicController
    
                        

    Proportional position-velocity controller for a holonomic robot.

    • Constructor Detail

      • HolonomicController

        HolonomicController(Double axialPosGain, Double lateralPosGain, Double headingGain)
    • Method Detail

      • compute

         final PoseVelocity2dDual<Time> compute(Pose2dDual<Time> targetPose, Pose2d actualPose, PoseVelocity2d actualVelActual)

        Computes the velocity and acceleration command. The frame Target is the reference robot, and the frame Actual is the measured, physical robot.

        Returns:

        velocity command in the actual frame