Is there any way to use presets when working with sparkmaxes?
What do you mean by presets?
Set positions that we want the neos to rotate to.
This project should help you: https://github.com/REVrobotics/SPARK-MAX-Examples/tree/master/Java/Position%20Closed%20Loop%20Control
The main file is here: https://github.com/REVrobotics/SPARK-MAX-Examples/blob/master/Java/Position%20Closed%20Loop%20Control/src/main/java/frc/robot/Robot.java
You don’t have to put the values on SmartDashboard, but while tuning it really helps to have the values on SmartDashboard.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.