[wpimath] Fix case and order of HolonomicDriveController PID getters (#7342)

This commit is contained in:
Tyler Veness
2024-11-05 08:50:17 -08:00
committed by GitHub
parent 9e8d37c03b
commit 63e623d70b
3 changed files with 54 additions and 17 deletions

View File

@@ -143,15 +143,6 @@ public class HolonomicDriveController {
m_enabled = enabled;
}
/**
* Returns the heading controller.
*
* @return heading ProfiledPIDController
*/
public ProfiledPIDController getThetaController() {
return m_thetaController;
}
/**
* Returns the x controller.
*
@@ -169,4 +160,13 @@ public class HolonomicDriveController {
public PIDController getYController() {
return m_yController;
}
/**
* Returns the heading controller.
*
* @return heading ProfiledPIDController
*/
public ProfiledPIDController getThetaController() {
return m_thetaController;
}
}