From f3e11fd8463961562d77830f2786698c6811ecb2 Mon Sep 17 00:00:00 2001 From: Kavin Muralikrishnan Date: Sun, 6 Oct 2024 17:33:19 -0400 Subject: [PATCH] Update DriveCommands.java --- src/main/java/frc/robot/commands/DriveCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/commands/DriveCommands.java b/src/main/java/frc/robot/commands/DriveCommands.java index a92fd94..ece5846 100644 --- a/src/main/java/frc/robot/commands/DriveCommands.java +++ b/src/main/java/frc/robot/commands/DriveCommands.java @@ -221,7 +221,7 @@ public static Command sequentialExampleCommand(){ //TODO: Task 9-Write a Command(function or class) that causes the XRP to drive until the distance returned by the rangefinder //is less than 2 inches. Afterwards, test it by replacing the return value of getAutonomousCommand() in RobotContainer and setting it to instead return the command you wrote. - //TODO: Task 10-Write a Sequential Command Group to move the XRP backwards 2 inches, set the arm preset to index 1, spin the XRP 360 degrees + //TODO: Task 10-Write a Sequential Command Group to move the XRP backwards 2 inches(you may need to make new Commands or alter existing Commands for this), set the arm preset to index 1, spin the XRP 360 degrees //and move the XRP forward 3 inches while moving the arm to 0 degrees using a by Parallel Command group. Afterwards, test it by replacing //the return value of getAutonomousCommand() in RobotContainer and setting it to instead return the command you wrote. //HINT: Parallel Command Groups are written the same way as Sequential Command Groups.