Compare commits
2 Commits
7032b95c60
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b5a298433 | ||
|
|
efd3f23fa2 |
@@ -48,7 +48,7 @@ Translation2d backRightLocation = new Translation2d(-0.3, -0.3);
|
|||||||
/* SysId routine for characterizing translation. This is used to find PID gains for the drive motors. */
|
/* SysId routine for characterizing translation. This is used to find PID gains for the drive motors. */
|
||||||
private void configureAutoBuilder() {
|
private void configureAutoBuilder() {
|
||||||
try {
|
try {
|
||||||
var config = RobotConfig.fromGUISettings();
|
RobotConfig config = RobotConfig.fromGUISettings();
|
||||||
AutoBuilder.configure(
|
AutoBuilder.configure(
|
||||||
() -> getState().Pose, // Supplier of current robot pose
|
() -> getState().Pose, // Supplier of current robot pose
|
||||||
this::resetPose, // Consumer for seeding pose against auto
|
this::resetPose, // Consumer for seeding pose against auto
|
||||||
|
|||||||
Reference in New Issue
Block a user