Skip to content

Commit

Permalink
Remove testing code that was for testing without vision
Browse files Browse the repository at this point in the history
TheFlameFish committed Jan 24, 2025
1 parent 3ce41df commit aac087c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
@@ -83,13 +83,6 @@ private void configureBindings() {
controller.getLeftTriggerAxis()
> 0.5)); // Trigger locks make trigger boolean, rather than analog.

drive.setPose(
new Pose2d(
2.258,
2.432,
Rotation2d.fromDegrees(
-119.152))); // TODO Remove this once we have vision. This is just for testing

// Path controller bindings
controller.b().whileTrue(goToSource());
}
@@ -101,7 +94,7 @@ public Command goToSource() {

PathConstraints sourceNavigationConstraints =
new PathConstraints(
0.5,
0.1,
0.5,
Radians.convertFrom(45, Degrees),
Radians.convertFrom(45, Degrees)); // The constraints for this path.

0 comments on commit aac087c

Please sign in to comment.