mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpimath] Fix coordinate frame docs in HolonomicDriveController (#7938)
This commit is contained in:
@@ -23,11 +23,11 @@ namespace frc {
|
||||
* This holonomic drive controller can be used to follow trajectories using a
|
||||
* holonomic drivetrain (i.e. swerve or mecanum). Holonomic trajectory following
|
||||
* is a much simpler problem to solve compared to skid-steer style drivetrains
|
||||
* because it is possible to individually control forward, sideways, and angular
|
||||
* velocity.
|
||||
* because it is possible to individually control field-relative x, y, and
|
||||
* angular velocity.
|
||||
*
|
||||
* The holonomic drive controller takes in one PID controller for each
|
||||
* direction, forward and sideways, and one profiled PID controller for the
|
||||
* direction, field-relative x and y, and one profiled PID controller for the
|
||||
* angular direction. Because the heading dynamics are decoupled from
|
||||
* translations, users can specify a custom heading that the drivetrain should
|
||||
* point toward. This heading reference is profiled for smoothness.
|
||||
|
||||
Reference in New Issue
Block a user