FRC Software Component Overview

The FRC Control System consists of a wide variety of mandatory and optional software components designed to assist you in the design, development and debugging of your robot code, control robot operation, and provide feedback to assist with troubleshooting. For each software component this document will provide a brief overview of its purpose, a link to the package download if appropriate, and a link to further documentation where available.

OS Compatibility

The primary supported OS for FRC components is Windows. All required FRC software components have been tested on Windows 7, 8 and 10. Windows XP is not supported. The only software that will not operate on Windows is the C++\Java FRCSim simulator, which requires specific versions of Linux.

Having said that, many of the tools for C++\Java programming are also supported and tested on Mac and Linux. Teams programming in C++\Java should be able to develop using these systems, using a Windows system for the Windows-only operations such as Driver Station, radio programming, roboRIO imaging.

Components supported on all OS's have been marked with an * below. All other items are Windows only, unless noted.

LabVIEW FRC

LabVIEW FRC 2017

LabVIEW FRC, based on National Instruments' LabVIEW 2017, is the development environment for LabVIEW, one of the three officially supported languages for programming an FRC robot. LabVIEW is a graphical, dataflow-driven language. LabVIEW programs consist of a collection of icons, called VIs, wired together with wires which pass data between the VIs. The LabVIEW FRC installer is distributed on a DVD found in the Kickoff Kit of Parts and is also available for download (see installation instructions page linked below). Instructions for installing the FRC libraries (package also includes Driver Station and Utilities) can be found here. A guide to getting started with the LabVIEW FRC software, including installation instructions can be found here

FRC Robot Simulator

The FRC Robot Simulator is a component of the LabVIEW programming environment that allows you to operate a predefined robot in a simulated environment to test code and/or Driver Station functions. It utilizes a LabVIEW code project as the robot code and communicates with the FRC Driver Station for robot control and the FRC Default Dashboard for robot feedback. The FRC Robot Simulator is installed with LabVIEW FRC 2017. Information on using the FRC Robot Simulator can be found by opening the Robot Simulation Readme.html file in the LabVIEW Project Explorer.

Eclipse IDE for C/C++ Developers*

Eclipse IDE for C/C++ Developers is the supported development environment for C++, one of the three supported languages used for programming an FRC robot. C++ is an object-oriented text based programming language. A program in C++ (for FRC) consists of a number of header (.h) and implementation (.cpp) files. It is recommended to install the language specific updates through Eclipse in order to be automatically notified of updates. A guide to getting started with C++ for FRC, including the installation and configuration of Eclipse IDE for C/C++ Developers can be found here.

Eclipse IDE for Java Developers*

Eclipse IDE for Java Developers is the primary supported development environment for Java, one of the three supported languages used for programming an FRC robot. Java is an object-oriented text base programming language. A program in Java (for FRC) consists of one or more .java files contained in one or more packages. A guide to getting started with Java for FRC, including the installation and configuration of the Eclipse IDE can be found here.

FRC Driver Station Powered by NI LabVIEW

The FRC Driver Station Powered by NI LabVIEW is the only software allowed to be used for the purpose of controlling the state of the robot during competition. This software contains the code necessary to send data to your robot from a variety of input devices such as joysticks, gamepads, and customizable IO boards. It also contains a number of tools used to help troubleshoot robot issues such as status indicators and log file creation. Instructions for installing the FRC Driver Station Powered by NI LabVIEW (included in the FRC Update Suite) can be found here, More information about the FRC Driver Station Powered by NI LabVIEW can be found here.

FRC LabVIEW Dashboard

The FRC LabVIEW Dashboard is the default dashboard program installed with, and automatically launched by, the FRC Driver Station. The purpose of the Dashboard is to provide feedback about the operation of the robot. The FRC Default Dashboard serves as a an example of the types of feedback teams may want from their robot. It includes a tabbed display that can switch between viewing an image from a camera on the robot or a display of NetworkTables variables, a display of information regarding the joysticks and drive motors, an indicator of the robot IP and battery voltage, and a second tabbed display that can switch between examples of custom indicators and controls, a test tab for use with the Driver Station Test Mode and a Checklist tab that teams can use to enter a custom checklist to complete before each match. The FRC Default Dashboard is included in the FRC Update Suite. Installation instructions can be found here. More information about the FRC Default Dashboard software can be found here.

SmartDashboard*

SmartDashboard*

The SmartDashboard is an alternate dashboard application written in Java. The SmartDashboard automatically creates a widget for each variable sent from the Robot sent using the SmartDashboard class or VIs. These widgets can be configured to a number of preset display types, or users can create custom extensions in Java. Vision extensions are available for the SmartDashboard which allow it to display images from the Axis camera on the robot. The SmartDashboard is included in the C++ and Java language updates (enabled by clicking the C++ or Java buttons respectively on the Setup tab of the Driver Station). Additional documentation on the SmartDashboard can be found here.

LiveWindow*

LiveWindow*

LiveWindow is a new mode of the SmartDashboard for 2013, designed for use with the new Test Mode of the Driver Station. LiveWindow allows the user to see feedback from sensors on the robot and control actuators independent of the written user code. More information about LiveWindow can be found here.

Shuffleboard*

Shuffleboard is an alternative dashboard application written in Java. It takes many of the concepts from SmartDashboard such as automatic adding of widgets and adds new features including better layout control and record/playback functionality. Shuffleboard contains all of the basic widget types found in the SmartDashboard as well as a number of new ones intended to make visualizing specific robot components even easier. It has full integration with WPILib's "cscore" for displaying, recording, and playing back camera streams. Shuffleboard is included in the C++ and Java language updates (enabled by clicking the Shuffleboard button on the Setup tab of the Driver Station or by launching it from the WPILib menu in Eclipse). Additional documentation on Shuffleboard can be found here.

FRC roboRIO Imaging Tool

FRC roboRIO Imaging Tool

The FRC roboRIO Imaging Tool is a software tool used to format and setup an roboRIO-FRC device for use in FRC. The tool detects any roboRIO device on the network, reports the current MAC, name, IP and Image version. The tool allows the user to configure the team number, set options including Console Out and whether an applications runs on Startup, and install the latest software image on the device. The FRC roboRIO Imaging Tool is installed as part of the FRC Update Suite. Installation instructions can be found here. Additional instructions on imaging your roboRIO using this tool can be found here.

CTRE Toolsuite*

CTRE Toolsuite*

The CTRE Toolsuite installs the software libraries for Talon SRX (C++\Java\LabVIEW) as well as the HERO Lifeboat software which can be used to update the roboRIO web based CAN configuration with the latest CTRE-specific features. The installer can be found here: http://www.ctr-electronics.com/control-system/hro.html

Note on non-Windows: A separate package (zip) is provided to get the Talon SRX and Pidgeon libraries on non-Windows systems. Users should unzip this file and place the contents into USER\wpilib\user folder

Setup Axis Camera

Setup Axis Camera

The Setup Axis Camera utility is a LabVIEW program used to configure an Axis 206, M1011 or M1013 camera for use on the robot. The tool takes a factory reset camera connected directly to the computer and configures the IP, username and password, anonymous access, and default framerate and compression (for use with the SmartDashboard or other access methods).  The Setup Axis Camera tool is installed as part of the FRC Update Suite. Installation instructions can be found here. Instructions for using the tool to configure the camera are located here.

FRC Driver Station Log Viewer

The FRC Driver Station Log Viewer is a LabVIEW program used to view logs created by the FRC Driver Station. These logs contain information such as battery voltage, trip time, CPU% and robot mode, as well as events such as joystick removal. The FRC Driver Station Log Viewer is included in the FRC Update Suite. Installation instructions can be found here. More information about the FRC Driver Station Log Viewer and understanding the logs can be found here.

Robot Builder*

Robot Builder is a tool designed to aid in setup and structuring of a Command Based robot project for C++ or Java. Robot Builder allows you to enter in the various components of your robot subsystems and operator interface and define what your commands are in a graphical tree structure. Robot Builder will then verify that you have no port allocation conflicts and can generate a wiring table indicating what is connected to each port as well as C++ or Java code. The code created generates the appropriate files, constructs the appropriate objects and adds LiveWindow code for each sensor and actuator, but does not write any of the actual Subsystem or Command methods. The user must write the appropriate code for these methods for the robot to function. Robot Builder is installed with the C++ or Java language specific updates (in the USER\wpilib\tools directory). Note that teams may need to install the Java Runtime Environment to use the Robot Builder on computers not set up for Java programming. More information about Robot Builder can be found here. More information about the Command Based programming architecture can be found in the C++ and Java manuals.

Outline Viewer*

Outline Viewer*

The Outline Viewer is a utility used to view, modify and add to the contents of the Network Tables for debugging purposes. It displays all keys currently in the Network Table along with the value and Sequence Number and can be used to modify the value of existing keys or add new keys to the Table. The Outline Viewer is included in the C++ and Java language updates (found in USER\tools\wpilib). LabVIEW teams can use the Variables tab of the LabVIEW Dashboard to accomplish this functionality. Note that teams may need to install the Java Runtime Environment to use the Network Tables Viewer on computers not set up for Java programming.

FRC Radio Configuration Utility

FRC Radio Configuration Utility

The FRC Bridge Configuration Utility is a tool used to configure the the OpenMesh OM5P-AN or OM5P-AC radio for practice use at home. This tool sets the appropriate IP, and network settings for proper network connection, as well as the QOS settings required to mimic the bandwidth limiting and packet prioritization experience on the FRC playing field. The FRC Bridge Configuration Utility is installed by a standalone installer, instructions on installing and using the FRC Bridge Configuration Utility to configure your radio can be found here.

FRCSim (Linux only)

FRCSim (Linux only)

FRCSim is a simulator for teams using C++ or Java based on the Gazebo simulation software. FRCSim requires a computer running Linux (for more specific info, see the details in the FRCSim documentation). Installation and usage instructions for the FRCSim simulator can be found in the Using FRCSim with C++ and Java manual.

0 Report Errors

Use this form to report any errors with the documentation. For help with WPILib, please use the FIRST Forums at http://forums.usfirst.org For reporting WPILib bugs, please submit an issue on GitHub at https://github.com/wpilibsuite/allwpilib/issues/new

Ignore