Skip to content

Commit 09b7f32

Browse files
committed
deprecate elevator hold extension command because it's lowkey broken
Signed-off-by: Dasun Abeykoon <[email protected]>
1 parent 57ff61c commit 09b7f32

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/org/frc6423/robot/subsystems/superstructure/elevator

1 file changed

+2
-1
lines changed

src/main/java/org/frc6423/robot/subsystems/superstructure/elevator/Elevator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,14 @@ public Command runSlowExtension(double extension) {
238238
*
239239
* @return {@link Command}
240240
*/
241+
@Deprecated
241242
public Command holdExtension() {
242243
return Commands.sequence(
243244
this.run(
244245
() -> {
245246
var currentPose = hardware.getParentPoseMeters();
246247

247-
hardware.setPose(currentPose, SLOW_ACCELERATION.in(MetersPerSecondPerSecond));
248+
hardware.setPose(currentPose, 0.0);
248249
})
249250
.until(() -> true),
250251
this.run(() -> {}));

0 commit comments

Comments
 (0)