Synthesis of local control for a robotic manipulator joint