Skip to content

Commit 0dcca1b

Browse files
committed
Fixed errors
- Joshua B
1 parent 82a6a71 commit 0dcca1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/frc/robot/auto/PathPoint.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import java.util.Optional;
44

5-
import org.json.JSONObject;
65

76
import edu.wpi.first.math.geometry.Pose2d;
87
import edu.wpi.first.math.geometry.Rotation2d;
@@ -27,7 +26,7 @@ public enum PathPointType {
2726
public PathPoint(Distance x, Distance y, Rotation2d rotation, LinearVelocity velocity) {
2827
}
2928

30-
public PathPoint setCommand(JSONObject command) {
29+
public PathPoint setCommand(Command command) {
3130
mCommand = Optional.of(command);
3231
return this;
3332
}

0 commit comments

Comments
 (0)