wpilibsuite / frc-docs

Official FRC Documentation powered by Read the Docs
https://docs.wpilib.org
Other
148 stars 261 forks source link

Update Test Drivetrain Program for Phoenix 6 instead of Phoenix 5 #2400

Closed daltzctr closed 2 months ago

daltzctr commented 11 months ago

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

sciencewhiz commented 11 months ago

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

daltzctr commented 11 months ago

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

sciencewhiz commented 8 months ago

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.

mjbergman92 commented 7 months ago

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.