Smart Velocity Control

The Smart Velocity control mode utilizes the Smart Motion parameters to improve upon velocity control. Honoring the maximum acceleration, Smart Velocity will speed up and slow down your flywheel or rotary mechanism in a controlled way, reducing power draw and increasing consistency.

It is called as seen below:

m_controller.setReference(setPoint, ControlType.kSmartVelocity);

API Docs: setReference

This graph was generated with a very slow acceleration to better show the motion, the wobbles at low speed can be minimized by increasing your acceleration.

Last updated

Was this helpful?