CrossTheRoadElec / Phoenix-api

CTRE Phoenix language API (targets FIRST Robotics Competition, Linux, RaspPi, Windows)
Other
39 stars 28 forks source link

Confusing set method #37

Closed alexanderswerdlow closed 5 years ago

alexanderswerdlow commented 6 years ago

The set method with the (ControlMode mode, double demand0, double demand1) parameters should either me marked as deprecated or removed as it can cause some confusion (certainly did for me) for someone attempting to use the new feedforward update that might simply try to input a demand1 without specifying a DemandType.

JCaporuscio commented 5 years ago

This function was deprecated prior to the 2019 season. Closing the tracker since the public API repo is now up-to-date.

As a note, this function will likely be removed for the 2020 season.