Model predictive control (MPC) is an advanced state-of-the-art scheme for controlling different types of systems. When applied to a robotic manipulator, it allows to control its motion by predicting and optimizing future states and controls while handling constraints such as obstacle avoidance and l...