Recent Updates

  • Updated on: Jul 17, 2017

    Installing Eclipse (C++/Java)

    Please note: While this page has been updated for 2017 instructions, the 2017 software is not yet available. This note will be removed when the 2017 release plugins have been published.

     

    The 2017 suite of text-based languages, Java and C++, utilize the current version of Eclipse as a development environment. The FRC specific tools for the chosen language are installed as Eclipse plugins. You can install both the Java and C++ development tools into the same installation of Eclipse to allow programs to be written with either language using a common set of tools and user interface.

    The 2017 Eclipse plugins have been tested with Eclipse Luna, Eclipse Mars and Eclipse Neon. Teams with existing installs from 2016 can update their installations to 2017 by following the updating the plugins when prompted by opening Eclipse (if automatic update is enabled) or following the "Updating the plugins manually" instructions below. C++ teams should also install the new toolchains (Installing the C++ Toolchains).

    CAN Talon SRX has been removed from WPILib. See this blog for more info and find the CTRE Toolsuite installer here: http://www.ctr-electronics.com/control-system/hro.html#product_tabs_technical_resources

    Note: The C++ and Java tools and environment are available for Windows, Mac OSX and Linux, though the Windows version is the one that has been the most heavily tested. You should be able to use any of the three for your development platform, however you should keep in mind that you will need a Windows computer to run the Driver Station software and roboRIO Imaging tool.

  • Updated on: Jul 17, 2017

    Joysticks

    The standard input device supported by the WPI Robotics Library is a USB joystick or gamepad. The Logitech Attack 3 joystick provided in the KOP from 2009-2012 comes equipped with eleven digital input buttons and three analog axes, and interfaces with the robot through the Joystick class. The Joystick class itself supports joysticks with more capabilities as well such as the Logitech Extreme 3D Pro included in the 2013 KOP which has 4 analog axes and 12 buttons. Note that the rest of this article exclusively uses the term joystick but can also be referring to a HID compliant USB gamepad.

  • Once commands are defined they can run in either the teleop or autonomous part of the program. In fact, the power of the command based programming approach is that you can reuse the same commands in either place. If the robot has a command that can shoot Frisbees during autonomous with camera aiming and accurate shooting, there is no reason not to use it to help the drivers during the teleop period of the game.

  • Updated on: Jul 17, 2017

    Introduction to FRCSim

    With FRCSim, you should be able to finish 90% Of your programming without ever touching a RoboRIO.

    We want you to be able to test your code BEFORE you put in on your robot, and before the robot is even built.

     

    FRCSim allows robot code written in C++ or Java that normally runs on your RoboRIO to be run on your laptop or desktop. It connects to custom robot models in the Gazebo robot simulator.

  • The 2015 Kickoff release of the FRC Driver Station has a bug that prevents the "C++" or "Java" dashboard settings from sticking across restarts of the DS software. To have the DS start the SmartDashboard when it starts up you have to manually modify the settings for the Default Dashboard.

  • Updated on: Jul 17, 2017

    Getting Started with the SmartDashboard

    The SmartDashboard typically runs on the Driver Station computer and will do two functions:

    1. View robot data that is displayed as program status as your program is running.
    2. View sensor data and operate actuators in Test mode for robot subsystems to verify correct operation.

    The switch between program status and test modes are done on the Driver Station.

  • Updated on: Jul 17, 2017

    Configuring an Axis Camera

    Three different Axis camera models are supported by the FRC software, the Axis 206, Axis M1011 and Axis M1013. This document provides instructions on how to configure one of these cameras for FRC use. To follow the instructions in this document, you must have installed the NI 2015 FRC Update Suite and Configured your radio

  • Often debugging or monitoring the status of a robot envolves writing a number of values to the console and watching them stream by. With SmartDashboard you can put values to a GUI that is automatically constructed based on your program. As values are updated, the corresponding GUI element changes value - there is no need to try to catch numbers streaming by on the screen.

  • Updated on: Jul 17, 2017

    RoboRIO FTP

    The roboRIO has both SFTP and anonymous FTP enabled. This article describes how to use each to access the roboRIO file system.

  • Updated on: Jul 17, 2017

    RoboRIO User Accounts and SSH

    Note: This document contains advanced topics not required for typical FRC programming

    The roboRIO image contains a number of accounts, this article will highlight the two used for FRC and provide some detail about their purpose. It will also describe how to connect to the roboRIO over SSH.