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