How to do current limiting for SparkMAX Motor Controller in Java

I know you can through the software, but can you do it real time on the robot in java?

In order to set a current limit in Java, you have to create a CANSparkMax object and call the setSmartCurrentLimit method.

I would refer to the API docs for any more questions

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.