CrossTheRoadElec / Phoenix-api

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

WPI get() fix #63

Closed brasswood closed 3 years ago

brasswood commented 5 years ago

When not in percent output mode, calling get() on a WPI_VictorSPX or WPI_TalonSRX will return 0, even if the motor controller is actually outputting to motors (e.g. calling get() on a WPI_VictorSPX that is slave to a Talon SRX will always return 0). If a team uses the Sendable interface to send the WPI_VictorSPX or WPI_TalonSRX to a dashboard, the dashboard will report the information from the get() method. These changes may fix that.