upgraded robot-controller