Skip to content
learnFRC.org
programmingmodulebeginner110 min

Stage 01 - Hardware & Bench Tuning (Phoenix Tuner X)

Verifying CAN bus health, assigning CAN IDs, checking motor directions, and tuning closed-loop PID and Motion Magic live in Phoenix Tuner X.

What you will learn

  • Inventory devices and confirm a healthy CAN baseline.
  • Verify motor direction and sensor sign at low output.
  • Record safe control-loop and mechanism-limit observations before writing subsystem code.

Writing robot code before verifying hardware can mask physical and electrical faults. If a motor controller is inverted or an absolute encoder lacks a calibrated zero offset, high-level software cannot function reliably.

Stage 1 validates and tunes physical mechanisms on a bench test-stand using Phoenix Tuner X before writing roboRIO code.

Before closed-loop tuning, create a known-good baseline that another teammate can reproduce:

  • Record each device name, bus, CAN ID, firmware version, and physical location.
  • Confirm that the bus is correctly terminated and that Tuner X discovers every expected device without duplicates.
  • Command only low output and verify that positive software motion matches the mechanism’s positive direction.
  • Move sensors by hand with output disabled and confirm that the reported sign matches the configured coordinate convention.
  • Write down current limits, soft limits, zero offsets, and the first tuning observations before transferring values into Java.

This separation keeps wiring, configuration, mechanism safety, and control tuning diagnosable instead of allowing software changes to hide a bench fault.


By tuning motors and verifying sensors on the bench first:

  1. Isolated Variables: When an arm behaves unexpectedly in autonomous, you already know the physical gains (kS,kV,kG,kP,kDk_S, k_V, k_G, k_P, k_D) are stable because you tested them directly.
  2. Prevented Mechanical Damage: Stator current limits and soft limits are validated before autonomous code can drive a carriage past physical travel bounds.

Verified Sources & Standards

Evergreen Standard Verified: Sep 25, 2026

Lessons