1 # RobotInstance.py 2 # Remote mode 3 4 ''' 5 Holder of global Robot instance 6 ''' 7 -class RobotInstance(): 8 _robot = None 9 _partsToRegister = [] 10 11 @staticmethod 12 - def setRobot(robot): 13 RobotInstance._robot = robot 14 15 @staticmethod 16 - def getRobot(): 17 return RobotInstance._robot 18