mirror of
https://github.com/TimeCrafters/UltimateGoal.git
synced 2025-12-13 05:02:34 +00:00
Changed addState to addParallelState in Park autonomous state
This commit is contained in:
@@ -34,7 +34,7 @@ public class Park extends CyberarmState {
|
||||
@Override
|
||||
public void start() {
|
||||
if (Math.abs(robot.getLocationY()) > robot.inchesToTicks(8))
|
||||
addState(new DriveToCoordinates(robot, robot.getLocationX(), parkY, parkFaceAngle, parkTolerance, parkPower,parkBrakeTime));
|
||||
addParallelState(new DriveToCoordinates(robot, robot.getLocationX(), parkY, parkFaceAngle, parkTolerance, parkPower,parkBrakeTime));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user