frc-docs icon indicating copy to clipboard operation
frc-docs copied to clipboard

Update Test Drivetrain Program for Phoenix 6 instead of Phoenix 5

Open daltzctr opened this issue 2 years ago • 4 comments

The TalonFX class is deprecated for removal in v5. Users should use TalonFX in v6 instead.

daltzctr avatar Nov 17 '23 16:11 daltzctr

Is this an upcoming change? It doesn't appear to be deprecated in the current beta release.

sciencewhiz avatar Nov 19 '23 02:11 sciencewhiz

It will be formally deprecated in one of the upcoming beta releases.

daltzctr avatar Dec 01 '23 00:12 daltzctr

Since there's still supported products that can only use Phoenix 5, I think the example should be changed to use TalonSRX with Phoenix 5 and another example added that uses TalonFX with Phoenix 6.

sciencewhiz avatar Jan 31 '24 14:01 sciencewhiz

Does this refer to this documentation page?

https://github.com/wpilibsuite/frc-docs/blob/main/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.rst

I know how to use the Phoenix 6 libraries. I just need a bit more collaborative direction before I try to make some changes and submit a pull request.

mjbergman92 avatar Mar 11 '24 02:03 mjbergman92