Please read through the requirements and basic example before utilizing the vendordep.
Due to the volatile nature of versions and breaking changes, the below list is provided to clarify compatible WPILib version, compatible Phoenix 6 API version and compatible firmware version.
- WPILib
2027_alpha1and2027_alpha2compatible releases- Phoenix 6
25.90.0-alpha-1 - Phoenix 6
25.90.0-alpha-2
- Phoenix 6
25.90.0-alpha-1and25.90.0-alpha-2compatible Phoenix 6 firmware- Firmware
25.90.0.0
- Firmware
It is highly recommended to explicitly pin the Python dependency in your project.toml.
requires = [
"phoenix6==25.90.0a2"
]
SystemCore CAN buses can be used by using the CANBus.systemCore(int busId) static function.
So to initialize a device on the SystemCore bus, you would use
// Use the CANivore named "swag"
public static final TalonFX m_motor = new TalonFX(0, new CANBus("swag"));
// Use the 5th (0-indexed) CAN bus
public static final TalonFX m_motor = new TalonFX(0, CANBus.systemCore(4));
// If no parameter is provided, it will use can_s0
public static final TalonFX m_motor = new TalonFX(0);- BREAKING: Removed the device overload that takes a string parameter. Construct a
CANBusobject instead. This should improve clarity and reduce confusion.
- Fixed Signal Logger auto-logging.
- When auto logging is enabled, logging is started by any of the following (whichever occurs first):
- The robot is enabled.
- It has been at least 5 seconds since program startup (allowing for calls to
setPath), and the Driver Station is connected to the robot.
- After auto logging has started the log once, logging will not be automatically stopped or restarted by auto logging.
- When auto logging is enabled, logging is started by any of the following (whichever occurs first):
- Phoenix 5 is unavailable.
- An offline installer is unavailable.
- Signal logger does not rename files to include the match name when connected to FMS.
- Tuner cannot deploy a temporary diagnostic server to the SystemCore. To use Phoenix Tuner X functionality, deploy a blank robot program with a Phoenix 6 device initialized. No other Tuner functionality is affected.
- Devices no longer implement sendable as it has been removed from WPILib.
- Phoenix 5 is unavailable.
- An offline installer is unavailable.
- Signal logger does not auto-start on FMS.
- Signal logger does not rename files to include the match name when connected to FMS.
- Tuner cannot deploy a temporary diagnostic server to the SystemCore. To use Phoenix Tuner X functionality, deploy a blank robot program with a Phoenix 6 device initialized. No other Tuner functionality is affected.
-
Vendordep:
https://maven.ctr-electronics.com/release/com/ctre/phoenix6/latest/Phoenix6-25.90.0-alpha-2.json -
Firmware: Tuner -> For the year dropdown select
2027-alpha-1-> Firmware will be automatically populated -
canivore-usb-kernel Package: https://ctre.download/files/canivore-usb-kernel_1.14_aarch64.ipk
-
canivore-usb Package: https://ctre.download/files/canivore-usb_1.14_aarch64.ipk