Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit dd7768a

Browse files
committed
add fmsInput parameter
the Robot.java side isn't implemented yet because I don't want conflicts with Alex's push
1 parent 99b6970 commit dd7768a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/Autonomous.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@
1212
*/
1313
public class Autonomous extends CommandGroup implements AutonomousInterface {
1414

15-
public Autonomous(String startPos, Map<String, String> strategies, double delay) {
15+
public Autonomous(String startPos, Map<String, String> strategies, double delay, String fmsInput) {
1616
String scriptName = "";
1717

1818
scriptName += startPos.substring(0, 1);
1919

20-
String fmsInput = DriverStation.getInstance().getGameSpecificMessage();
21-
2220
String chosenStrat = strategies.get(fmsInput.substring(0, 2));
2321

2422
// skip the next steps if robot is chosen to do nothing

0 commit comments

Comments
 (0)