Our team is looking to use PID with one of our talons, and from what we've researched Motion Magic is the simplest option. Our problem is that we don't seem to know exactly how to use the motion magic capabilities of the SRX. We tried out the following code but to no avail.
#some thing to run the motor
self.talon.set(self.talon.ControlMode.MotionMagicArc, ctre.wpi_talonsrx.MotionMagicArc.PercentOutput, 1)
This obviously doesn't work, but does anybody here have experience using motion magic with the CAN TalonSRX? What worked for you?
Thanks in advance.