We are trying to implement Motion Magic on our elevator. We have a RedLine Motor on a 57Sport 80:1 gearbox. The Elevator has some counter balance Constant force springs. For feed back we choose to install a 10-turn potentiometer on one of the idler sprocket shafts that ends up turning ~4.5 rotation trough the travel of the system.
What we are seeing is the motor starting out slow, then jumping to the Cruise Velocity, switching back to a slow speed, finnaly a quick jump to Cruise Velocity before finally stopping at the setpoint. Attached is the plot from the Phoenix Tunner. The Test code is a directly modified variant of your sample code with the Follower motors commented out along with the feedback device changed to Analog and signal phases adjusted accordingly. I also had to comment out the “configMotionSCurveStrength” because of errors. I believe I have the latest install of the CTRE tools but the libraries seem to not be in sync.
Thanks for any pointer or dirrection you can provide.