frc78 / FRC78_2024

Software repository for FRC Team 78's robot code for the 2024 FRC game Crescendo
Other
5 stars 1 forks source link

Enable FOC on cartridge motors #200

Closed ArchdukeTim closed 4 weeks ago

ArchdukeTim commented 5 months ago

The falcons are now pro licensed, so we should enable FOC on them. It requires a specific call https://api.ctr-electronics.com/phoenix6/release/java/com/ctre/phoenix6/controls/DutyCycleOut.html#withEnableFOC(boolean)

ArchdukeTim commented 4 weeks ago

Turns out it's enabled by default