Rhino robot code, now using Toast and Gradle!
Although the system becomes much more complex, the Toast API simplifies our code!
To set up this module in your development environment, follow these steps:
Clone the repository
If you haven't already, you can deploy Toast to your Robot by running gradlew toastDeploy
.
- Run
gradlew eclipse
for eclipse, orgradlew idea
for IntelliJ - Edit the
build.gradle
file to reflect your desired configuration (e.g. changing the Team Number) - Open the project using
File -> Open Project
- To build, go to the directory in a shell and run
gradlew deploy
If you haven't already, you can deploy Toast to your Robot by runninggradlew toastDeploy
.
- Install Gradle plugin for Netbeans (Go to
Tools -> Plugins -> Available Plugins
and searchGradle JavaEE
. Install that plugin, restart netbeans). - Install FRC Netbeans plugin (Go to
Tools -> Plugins -> Settings
and clickAdd
for name, use something likeFRC Plugins
, and for the url, usehttp://first.wpi.edu/FRC/java/netbeans/update/Release/updates.xml
Restart netbeans). - Go to
Tools -> Options -> Miscellaneous -> FRC Configuration
and setTeam Number
to3966
. - Open the repo using
File -> Open Project
- Now you can click the large green button in Netbeans, and it runs
gradlew clean build