Recent Updates

  • There are two ways of running programs onto the roboRIO. You can

    1. Attach to the roboRIO and run the program using the debugger from your development system OR
    2. Load it onto the roboRIO flash drive so it will run on reboot.

    For tournaments you should always download the program so that it will be there when the robot is restarted and the match is played. This article will cover loading the program onto the roboRIO to run on reboot. The next article will cover the debugger.

  • Updated on: Jan 23, 2018

    Working with Commands and Subsystems

    Manual Shuffleboard
  • Updated on: Jan 23, 2018

    PIDSubsystems for built-in PID control

  • Updated on: Jan 23, 2018

    PIDSubsystems for built-in PID control

    If a mechanism uses a sensor for feedback then most often a PID controller will be used to control the motor speed or position. Examples of subsystems that might use PID control are: elevators with potentiometers to track the height, shooters with encoders to measure the speed, wrists with potentiometers to measure the joint angle, etc.

    There is a PIDController class built into WPILib, but to simplify its use for command based programs there is a PIDSubsystem. A PIDSubsystem is a normal subsystem with the PIDController built in and exposes the required methods for operation.

  • Manual Shuffleboard
  • Updated on: Jan 23, 2018

    Creating your Benchtop Test Program

    The simplest way to create a robot program, is to start from one of the three supplied templates (Sample, Iterative or Command). Sample is best used for very small sample programs or advanced programs that require total control over program flow. Iterative Robot is a template which provides better structure for robot programs while maintaining a minimal learning curve. Command-Based robot is a template that provides a modular, extensible structure with a moderate learning curve.

    The templates will get you the basis of a robot program, organizing a larger project can often be a complex task. RobotBuilder is recommended for creating and organizing your robot programs. You can learn more about RobotBuilder here. To create a command-based robot program that takes advantage of all the newer tools look at Creating a Robot Project in the Command Based Programming Chapter.

  • Updated on: Jan 23, 2018

    Programming your radio

    This guide will show you how to use the 2017 FRC Radio Configuration Utility software to configure your robot's wireless bridge for use outside of FRC events.

    Before you begin using the software:

    1. Disable WiFi connections on your computer, as it may prevent the configuration utility from properly communicating with the bridge
    2. Make sure no devices are connected to your computer via ethernet, other than the wireless bridge. Note that for the OM5P-AN and AC bridge, you must use a particular Ethernet port. See the on screen image and instructions for more information.

    The OM5P-AN and AC use the same power plug as the D-Link DAP1522, however they are 12V radios. Wire the radio to the 12V 2A terminals on the VRM (center-pin positive).

    Note: Teams will need to update firmware on both OM5P-AN and OM5P-AC radios in order for the programming utility to program them, or for them to be used at events. This must be done before you attempt to program them.

  • Updated on: Jan 16, 2018

    Operating a compressor for pneumatics

    The Pneumatics Control Module from Cross the Road Electronics allows for integrated closed loop control of a compressor. Creating any instance of a Solenoid or Double Solenoid object will enable the Compressor control on the corresponding PCM. The Compressor object is only needed if you want to have greater control over the compressor or query compressor status.

  • Updated on: Jan 10, 2018

    Nidec Dynamo BLDC Motor with Controller

  • Updated on: Jan 09, 2018

    Using the CameraServer on the roboRIO