Simple Emulation package for FIRST Robotics Java code running on a cRio
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
.classpath
.gitignore
.project
LICENSE
README.md

README.md

frc-java-emulator

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

  1. Add the frc-java-emulator jar to your build path

  2. Make sure that you also have frc-java-emulator's dependencies, Reflections and Javassist.

  3. Change all your WPILib imports to robotemulator ones (either add "import robotemulator.*;" or do a find and replace for "edu.wpi.first.wpilibj" with "robotemulator")

  4. Run the code! The main class is "robotemulator.RobotEmulator". It will search for all classes extending IterativeRobot and ask which one you want to run.