Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package org.usfirst.frc.team7024.robot.commands;
- import edu.wpi.first.wpilibj.command.Command;
- import edu.wpi.first.wpilibj.command.CommandGroup;
- import org.usfirst.frc.team7024.robot.Robot;
- import edu.wpi.first.wpilibj.DriverStation;
- /**
- * Drive over the auto line and drop power cube in either the switch or scale
- */
- public class Test extends CommandGroup {
- public Test() {
- addSequential(new DriveStraight());
- /*
- String gameData;
- gameData = DriverStation.getInstance().getGameSpecificMessage();
- boolean switchLeft = gameData.charAt(0) =='L';
- boolean scaleLeft = gameData.charAt(1) == 'L';
- boolean switchRight = gameData.charAt(0) == 'R';
- boolean scaleRight = gameData.charAt(1) == 'R';
- */
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement