100 [[deprecated(
"This device's Phoenix 5 API is deprecated for removal in the 2025 season."
101 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
102 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
CTRE Talon FX Motor Controller when used on CAN Bus.
Definition: TalonFX.h:219
An Orchestra is used to play music through Talon FX motor controllers.
Definition: Orchestra.h:40
bool IsPlaying()
Returns whether the current track is actively playing or not.
ErrorCode AddInstrument(ctre::phoenix::motorcontrol::can::TalonFX &instrument)
Adds another instrument to the orchestra.
Orchestra()
Constructor for an Orchestra Object.
ErrorCode Stop()
Stops the music file that's loaded.
uint32_t GetCurrentTime()
ErrorCode LoadMusic(const std::string &filePath)
Loads a Chirp file at the specified file path.
ErrorCode Pause()
Pauses the music file that's loaded.
ErrorCode ClearInstruments()
Clears all instruments in the orchestra.
ErrorCode Play()
Plays the music file that's loaded.
ErrorCode
Definition: ErrorCode.h:13
namespace ctre
Definition: paramEnum.h:5