Optimal/PID formulation for control of robotic manipulators | Synapse