fix build error in RobotTest