Added setRobotState