Skip to content

Commit 6439a56

Browse files
committed
Add end method to FollowPath
- Joshua B
1 parent c362ce7 commit 6439a56

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/frc/robot/commands/FollowPath.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,13 @@ public void execute() {
234234

235235
@Override
236236
public void end(boolean isInterrupted) {
237-
237+
mDrivetrain.Drive(
238+
Units.MetersPerSecond.of(0),
239+
Units.MetersPerSecond.of(0),
240+
Units.RadiansPerSecond.of(0),
241+
true,
242+
Milliseconds.of(20)
243+
);
238244
}
239245

240246
@Override

0 commit comments

Comments
 (0)