What is the "best" Swerve Library?

It might be a stupid question. But I wonder whether Swerve Generator of tuner X will help me generate Phoenix Pro’s code instead of v6 if I have a pro.
I have read the doc again and again, but I just see this.

1 Like

It already does!
I think this is a common point of confusion, the Phoenix Pro API from 2023 is replaced with the Phoenix 6 API for 2024. There is no Phoenix Pro API for 2024, only Phoenix Pro Licenses/Features.

In particular, the Swerve API is freely available to anyone. But, if you use a CANivore and/or have Phoenix Pro licenses, the Swerve API becomes more accurate as it makes use of the additional capability of the system (Timesync, CANivore timestamps, Fused CANcoder, etc). So using Tuner’s Generator will generate your Phoenix 6 project, and if your robot is Pro licensed and/or uses a CANivore, the Swerve API will automatically use the expanded featureset for improved performance.

We have more details in the Phoenix 6 Announcement and Documentation, and you can direct questions to either our support email ([email protected]) or another topic such as our Open Alpha topic, since I don’t want to bog down this topic with Phoenix 6/Pro specific questions.

6 Likes