* robot is in, the robot will align with the goal. In the Software 2015-2016
* Google folder is a picture explaining each of the cases.
*
- * dependency on sensors: lidars, encoders, gyro dependency on subsystems:
- * drivetrain dependency on other commands: TurnForAngle(), DriveForDistance()
+ * dependency on sensors: lidars, encoders, gyro
+ *
+ * dependency on subsystems: drivetrain
+ *
+ * dependency on other commands: TurnForAngle(), DriveForDistance()
*
* pre-condition: robot is flush against a defense at the specified position in
* the opponent's courtyard
import edu.wpi.first.wpilibj.command.Command;\r
\r
/**\r
- * This command\r
+ * This command drives the robot for the specified time and specified speed. (If\r
+ * a speed is not specified, a default speed is used\r
+ *\r
+ *\r
+ * dependency on subsystems: drivetrain\r
+ *\r
+ * pre-condition: robot is on\r
+ *\r
+ * post condition: robot has driven for the specified amount of time\r
*/\r
public class DriveForTime extends Command {\r
\r
/***
* This command will drive the robot through the low bar.
*
+ * dependency on sensors: encoders
+ * dependency on subsystems: drivetrain
+ * dependency on other commands: DriveForDist
+ *
* pre-condition: robot is flush against the ramp of the outerworks in front of
* the low bar
*
*
* dependency on subsystem: drivetrain
*
+ * dependency on other commands: DriveForTime
+ *
* pre-condition: robot is flush against the ramp of the outerworks in front of
* the moat
*
/***
* This command will drive the robot through the rampart.
*
+ * dependency on subsystems: drivetrain
+ *
+ * dependency on other commands: DriveForTime
+ *
* pre-condition: robot is flush against the ramp of the outerworks in front of
* the rampart
*
/***
* This command will drive the robot through the rock wall.
*
+ * dependency on subsystems: drivetrain
+ *
+ * dependency on other commands: DriveForTime
+ *
* pre-condition: robot is flush against the ramp of the outerworks in front of
* the rock wall
*
*
*/
-/**
- *
- */
public class PassRockWall extends CommandGroup {
private final double BEG_TIME = 0;
/***
* This command will drive the robot through the rough terrain.
*
+ * dependency on subsytems: drivetrain
+ *
+ * dependency on other commands: DriveForTime
+ *
* pre-condition: robot is flush against the ramp of the outerworks in front of
* the rough terrain
*