This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to switch the control mode (position mode, velocity mode and torque mode) when the PID loop is running.

How to  smooth the motion trajectory when change the control mode.

  • The question is very generic, but for example if changing the mode from speed mode to torque mode, the initial reference you need to use when transitioning into torque mode needs to be the final value used in speed mode, then change the reference as needed.
    The same applies when transitioning from position control to speed control. The initial speed reference used needs to be the final referenced used by the position loop, and then change it as needed.
    -Jorge