FRC How do you program SPARK MAX motor controller in JAVA?

My team has been using the old spark motor controllers every year. We want to switch to the spark maxs once the season starts. We code in java and our coder does not know how to code the new motor controllers. Any other information on the spark max controllers is greatly appreciated too.

1 Like

https://www.revrobotics.com/software/

There are some resource docs and example code here.

Download the Jason vendor library and the basics are easy, refer to the doc by rev robotics

So you’ll want to add one of the following vendor library JSONs:
2023 version: https://software-metadata.revrobotics.com/REVLib-2023.json
2024 version: https://software-metadata.revrobotics.com/REVLib-2024.json

Then, then you can look at these examples: https://github.com/REVrobotics/SPARK-MAX-Examples/tree/master/Java

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