mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 08:48:05 -06:00
Update to 2026.1.1. Add a lot of shooter boilerplate
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
package frc4388.robot.subsystems.swerve;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import org.littletonrobotics.junction.AutoLogOutput;
|
||||
import org.littletonrobotics.junction.Logger;
|
||||
|
||||
@@ -315,6 +317,10 @@ public class SwerveDrive extends SubsystemBase implements Queryable {
|
||||
return state.currentPose;
|
||||
}
|
||||
|
||||
public Supplier<Pose2d> getPoseSupplier() {
|
||||
return () -> this.getPose2d();
|
||||
}
|
||||
|
||||
public void resetGyro() {
|
||||
io.tareEverything();
|
||||
robotKnowsWhereItIs = false;
|
||||
|
||||
Reference in New Issue
Block a user