Simulating GearsBot with FRCSim
This tutorial walks you through running the GearsBot example, assuming you already have FRCSim installed.
A demo video of the end result can be found on the official WPILib channel here:
1. If you correctly followed the last optional steps in the article Installing FRCSim The Fun Way (Manually), then you can simply type "eclipse" in the launcher. Otherwise, you will have to open a terminal and run eclipse.
2. Type “eclipse”
3. Click on the eclipse icon
Welcome to Eclipse
Exit the welcome menu
Start a new project
1. Click New Project
2. If using Java
(a) Expand WPILib Robot Java Development
(b) Select Example Robot Java Project
3. If using C++
(a) Expand WPILib Robot C++ Development
(b) Select Example Robot C++ Project
4. Click Next
Switching to the C++ Perspective (for C++ programs only)
Switching to simulation compilation (for C++ programs only)
Launching The Simulator
Running frcsim from the terminal is the better option because you can see error messages, and other information printed.
Open up a terminal and run the following.
Launching the DriverStation
If you created a sim_ds.desktop file as shown in Installing FRCSim The Fun Way (Manually) simply open the launcher and type sim_ds.
Or, open a terminal and run: