import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.command.Command;
+/***
+ * This command turns the robot in a specified direction for a specified
+ * duration.
+ *
+ * pre-condition: robot is on a flat surface
+ *
+ * post-condition: robot has turned in the specified direction for the specified
+ * time
+ *
+ * @author Meryem, Avi, and Sarvesh
+ *
+ */
+
public class TurnForTime extends Command {
private final double SPEED = 0.5;
private Direction direction;
@Override
protected void execute() {
-
if (direction == Direction.RIGHT) {
Robot.driveTrain.setMotorSpeeds(SPEED, -SPEED);
} else if (direction == Direction.LEFT) {