RamseteController
class RamseteController @JvmOverloads constructor( val trackWidth: Double, val zeta: Double = 0.7, val bBar: Double = 2.0)
Ramsete controller for tracking tank trajectories.
The standard Ramsete control law from equation of this paper is
where and . Since has units, we substitute where is the track width.
Properties
Functions
Link copied to clipboard
fun compute( s: DualNum<Time>, targetPose: Pose2dDual<Arclength>, actualPose: Pose2d): PoseVelocity2dDual<Time>
Computes the velocity and acceleration command. The frame Target
is the reference robot, and the frame Actual
is the measured, physical robot.