Added robot-side code.