Phoenix Tuner X is CTRE’s all-in-one configuration and diagnostics application for TalonFX motors, CANcoders, Pigeon IMUs, and CANivores. It connects to the robot over USB or the robot network and lets you configure devices, run control loops live, and update firmware — all without touching robot code.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/spectrum3847/2026-Spectrum/llms.txt
Use this file to discover all available pages before exploring further.
Connecting to the robot
- Connect your laptop to the robot’s network (USB or Wi-Fi via radio)
- Open Phoenix Tuner X
- Click Connect and select your robot (RoboRIO or CANivore)
- All detected CAN devices appear in the device list
CAN ID and device setup
Every device on a CAN bus must have a unique CAN ID across all device types (TalonFX, CANcoder, Pigeon, etc.) on that bus. Duplicate IDs cause unpredictable behavior. When setting up a new device:- Assign a CAN ID that matches the value in the corresponding subsystem’s config class
- Set a human-readable Name matching the subsystem (e.g.,
"LauncherLeader","SwerveFL_Drive") - Verify the License is set to the current season under the team’s CTRE account
Resetting swerve CANcoder offsets
Correct swerve wheel alignment is critical for accurate field-relative driving. After any mechanical change to the swerve modules, reset the CANcoder offsets:Physically align the wheels
Place swerve aligners on the robot with the bevel gear pointed toward the inside of the robot frame on all four corners.
Read the absolute position in Phoenix Tuner X
Select each swerve module’s CANcoder in Phoenix Tuner X. Read the Absolute Position (No Offset) value — this is the raw encoder reading with all wheels aligned straight.
Update the offset in robot code
Enter the negative of the raw value as the encoder offset in the corresponding swerve configuration. If the sign appears incorrect after deployment, flip it.
java
Live motor control and diagnostics
The Controls tab in Phoenix Tuner X lets you command motors directly without running robot code — useful for verifying wiring and tuning PID gains:- Duty Cycle Out: Open-loop percent output (-1.0 to 1.0)
- Voltage Out: Open-loop voltage command
- Position / Velocity: Closed-loop setpoint with live gain tuning
- Plot: Real-time graphs of position, velocity, current, voltage, and temperature
Updating firmware
CTRE releases firmware updates for TalonFX, CANcoder, Pigeon 2.0, and CANivore each season. Keep firmware current for compatibility with the Phoenix 6 library version used in the project.Click Update Firmware
Phoenix Tuner X will download and flash the latest firmware automatically. The device will reboot.
