Skip to content

Commit

Permalink
Create a "standard" robot class that will always be the one that gets…
Browse files Browse the repository at this point in the history
… deployed. This class should extend whatever "real" class you want to deploy. It allows the selection of robot code to run to be made in the "software" instead of the gradle setup. I think this leaves the options "at the top".
  • Loading branch information
rakar committed Jan 6, 2018
1 parent 3159d8b commit 18690e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

def TEAM = 555
def ROBOT_CLASS = "frc.team555.robot.TankRobot"
def ROBOT_CLASS = "frc.team555.robot.Robot"

// Define my targets (RoboRIO) and artifacts (deployable files)
// This is added by GradleRIO's backing project EmbeddedTools.
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/frc/team555/robot/Robot.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package frc.team555.robot;

public class Robot extends TankRobot {
}

0 comments on commit 18690e0

Please sign in to comment.