Skip to content

FRC | Programming Environment

Santiago Garza edited this page Oct 8, 2017 · 20 revisions

Hardware/Software

Installation

  • First, the download install the Java JDK, You must accept the license agreement to continue to download.
  • Then download & install Git.
  • If your device will be running any code in C++, click here and select the most recent version of the C++ Toolchains for your device.
  • Download & install Eclipse
  • This download will create a zip file. Extract the file, the move the eclipse folder to a new file titled, "Eclipse".
  • Start Eclipse, and allow it to use the default workspace.
  • In Eclipse, select Window, then Preferences in the menu bar. If C/C++ is on the left side somewhere, skip to the next step. If not, close the Preferences window, select Help, then Install New Software. Click the dropdown and select "Neon" in the "Work With:" Section. Scroll down to Programming Languages and expand the section. Click the checkbox next to "C/C++ Development Tools". Click Next, and restart eclipse.
  • Return to the Preferences menu. Choose Java Preferences, then Installed JREs. Make sure that the installed JDK is shown. If it isn't, click "Add", then select "Standard VM". Click "Next" and then "Directory". Find the JDK folder and click "OK" then "Finish".
  • Restart Eclipse and Select "Help", then "Install new software". Press the "Add" button. In the Name box, type, "FRC Plugins". In location paste the following link: http://first.wpi.edu/FRC/roborio/release/eclipse/
  • Click Next and select all folders.

Version control

Robotics programmers for the ESHS FRC team are expected to check their code into version control on a regular basis. (The alternative, storing code on easily-misplaced USB sticks, has been tried in the past, and is completely untenable.) At the time of writing, we are using Git for source control.

Please note that Git and GitHub are not the same thing, any more than "streaming video" and "YouTube" are the same thing. GitHub's just the hosting provider we happen to be using right now. Git is the source control system we'd use whether GitHub was accessible to us or not.

This wiki page you're reading right now is part of the database database Git repository. We tend to use a separate wiki repository for each year's robot:

If the repository does not yet exist and we need to check code in, please create it.

Clone this wiki locally