예제 #1
0
	def __init__(self, exceptIps=["0.0.0.0"]):
		"""
		Constructor
		"""
		self.__serverReader = []
		self.__exceptIps = exceptIps
		self.__networkService = NetworkService()
		
		self.__app = qi.Application( url="tcp://" + Settings.naoHostName + ":" + str(Settings.naoPort) )
		logging.info( "Connecting to %s", self.__app.url )
		self.__app.start()
		self.__session = self.__app.session
		
		NAOCommand.startDefaultModules(self.__session)