We are having trouble using the rev robotpy library to control a NEO motor with a Spark Max Controller. When running the Spark Max from the Rev hardware client, we are able to spin the NEO in both directions. However, when we initialize and run the following two lines (first in robotInit, second in teleopPeriodic), the NEO vibrates and attempts to spin.
self.rotateArm = rev.CANSparkMax(constants["rotateArm"], rev.CANSparkMaxLowLevel.MotorType.kBrushless)
self.rotateArm.set(.8)
The sparkmax is on the latest firmware (1.5.2). We are using the canbus. Here is a video displaying the observed behavior.