I have been unsuccessful getting a SparkMAX to work in position mode. I’m using C++. I can read and set the encoder value. Velocity mode works just fine. I am using the line of code from the RevRobotics example to position the motor.
Setting rotations to one (1) and issuing the above command starts the motor turning. The problem is it does not stop. Will someone shed some light on what might be the issue?