Skip to content

Before anyone enables a robot

Five minutes, out loud, at the start of every session with real hardware. Nobody is too experienced to hear it again.

  1. Rule 1

    Know where the disable button is

    Enter disables the robot. Spacebar is emergency stop. Find them before you plug anything in.

  2. Rule 2

    Say "enabling" out loud

    Every time, before you enable. Everyone near the robot needs to hear it.

  3. Rule 3

    Robot on blocks

    For the first drivetrain test, the wheels come off the floor.

  4. Rule 4

    Hands clear of mechanisms

    Anything that can move, will, the moment it is enabled.

  5. Rule 5

    Safety glasses on

    Everyone in the area, not just whoever is driving.

  6. Rule 6

    One person drives

    One person on the controller, one person watching the robot.

If anything looks wrong, disable first

Nobody has ever been told off for hitting disable. Hit it, then work out why.

Deploying to the robot

  1. 1Connect to the robot.
  2. 2Ctrl+Shift+P, then WPILib: Deploy Robot Code.
  3. 3Wait for the Driver Station to go green.
  4. 4Robot on blocks.
  5. 5Say "enabling".
  6. 6Enable teleop.

Words you will hear at the robot

roboRIO
The robot's computer. Code runs here.
CAN bus
A chain of wires connecting motor controllers; each device gets a unique ID.
CAN ID
The address of a motor controller. Two devices with the same ID break things.
PWM
An older, simpler way to control motors, by port number.
Inversion
Motors on opposite sides spin opposite ways.
Vendor libraries
Code from REV and CTRE that WPILib does not include.