Java Emulator

Hey guys,

I was doing a little bit of research, and found that there used to be an emulator that would allow one to semi-reliably emulate a cRIO locally. However, both of the programs provided seem to have stopped being updated as of 2011. Given the fact that our team has begun to program truly asynconously, we were looking at some way to test outputs and other simple things locally, as opposed to waiting for a robotics meeting. This would greatly increase the speed in which we develop new code. Does anyone know of something that would work for this, or will we just have to deal with FRC only coming out with one for LabView?

Thanks,

Philip Mulford, Team 3373

While it obviously cannot simulate the whole robot, I have had some success testing SmartDashboard extensions without a robot using the downloads from http://firstforge.wpi.edu/sf/frs/do/viewSummary/projects.network_tables_2_0/frs.

Here is my netbeans project: https://github.com/FRC-2429/FakeRobot.

SmartDashboardTest.java is just a copy of the SmartDashboard.java in wpilib with the initialization of the table delayed.

Linking “networktables-desktop-r208.jar” and “wpilib.jar” seems to make it work perfectly.

Thanks! Sorry I took so long to reply, but have been trying to implement it. Unfortunately, what you are working on doesn’t work in our case, as we are ttrying to test motor output, not textual output. We are currently having problems sending commands to motors, as you can probably see in a newer post. Thanks, though.

Philip Mulford, Team 3373