Simple emulation package for FIRST robot Java code.
Java
Pull request Compare This branch is 51 commits ahead, 1 commit behind SouthEugeneRoboticsTeam:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
.classpath
.gitignore
.project
FIRST_BSD_LISCENCE.txt
LICENSE
README.md
forms-1.3.0-src.zip
forms-1.3.0.jar
frctest.xml

README.md

FRC-Test

Simple Emulation package for FIRST Robotics Java code running on a roboRIO

Adding it to your project

  • Extract the FRC-Test zip file into the root of your robot code project

  • Add the following code at the bottom of your build.xml, right before </project>:

  <!-- +++++++++++++++++++++++++++++++++++++   FRC-Test   +++++++++++++++++++++++++++++++++++++ -->
  <import file="frctest.xml"/>
  • Create a new Ant Run Configuration by right-clicking build.xml in the project explorer and choosing Run As > Ant Build... Select the runemulator target in the targets tab. Then, run the configuration, and the emulator will search for all classes extending RobotBase (ant IterativeRobot and SampleRobot) and ask which one you want to run.

Code

This project uses a significant amount of code from the NetworkTables and WPILib libraries. This code is the property of its owners / authors. Thank you, FIRST, for making this possible by making WPILib open-source.