Lesson: Installing RoboRio Programming Tools

Overview: 
Explore more information about the RoboRio hardware and software environment. Install the tools need to write Java programs for the RoboRio.
Objectives: 

Understand the RoboRio hardware and software enviroment in more detail. Download and install the software tools needed to develop Java programs for the RoboRo.

Content: 

Before we get into installation of the software tools, we will go over some basics.

The documentation for the RoboRio based robot control system is located on-line at the ScreenStepsLive web site. This site contains fairly complete documentation of the RoboRio based FRC Control System. Here is a discussion on how to use the ScreenStepsLive site. In addition to the on-line documentation, there various other web sites and PDF based manuals that provide valuable information. Note that the links to ScreenStepsLive topics in our lessons point to the 2016 version of the documentation. When looking at topics in ScreenStepsLive, be aware that there is a complete set of the documentation for each year of FRC competition. So you may want to navigate to the current year version of the topic linked to. The yearly update is released near the end of each year for the upcoming competition season.

The software development SDK you will use for RoboRio programs is provided by Worcester Polytechnic Institute and is called the WPILib. Here is an overview of the WPILib.

In our lessons we are only going to be covering the development of Java programs for the RoboRio and the tools you need to do that development. Be aware that  the complete robot control system involves many more software tools that need to be installed and configured. This is typically done by senior team members is not something every Java developer will need to do...but it is important to have an understanding of these other components and how they fit into the complete control system. We are not going to discuss these other components in detail but you should study the ScreenSteps documentation about these other components for best results.

The RoboRio control system can be programmed in Java, C++ or LabView. Follow these instructions to install the Java SDK, Eclipse and the WPILib plugins. Note that when installing Eclipse, you want Eclipse for Java developers. Ignore all discussion of mixing Java and C++. You will not need C++.

The section that follows the Eclipse install instructions titled "Installing the FRC 201x Update Suite" is not needed for most developers. This section is for lead or master FRC programmers and relates to installing software for the driver station, LabView and some other tools used in FRC. Most developers will not need to deal with this and this area is beyond the scope of this curriculum at this time.

However, if you do not install the Update Suite, there is one software tool you need that is part of that suite. This is the mDNS service. A lesson on mDNS will be added, but for now just know that it is a needed component for communication with the RoboRio. mDNS is installed as part of the Update Suite or is already present on your PC if you have iTunes installed. If you do not have iTunes, you can install the Apple BonJour service (which is mDNS by another name) manually from here.

When you have completed the Java SDK, Eclipse and WPILib plugins and mDNS installations you are ready to ready to take a closer look at using Java to program the RoboRio control system.

 

Lesson navigation: