Exemple #1
0
 def initProxies():
     #Warning: The use of these default proxies is deprecated.
     global ALMemory
     global ALMotion
     global ALFrameManager
     global ALLeds
     global ALLogger
     global ALSensors
     try:
         ALMemory = inaoqi.getMemoryProxy()
     except:
         ALMemory = ALProxy("ALMemory")
     try:
         ALFrameManager = ALProxy("ALFrameManager")
     except:
         print "No proxy to ALFrameManager"
     try:
         ALMotion = ALProxy("ALMotion")
     except:
         print "No proxy to ALMotion"
     try:
         ALLeds = ALProxy("ALLeds")
     except:
         pass
     try:
         ALLogger = ALProxy("ALLogger")
     except:
         print "No proxy to ALLogger"
     try:
         ALSensors = ALProxy("ALSensors")
     except:
         pass
Exemple #2
0
 def initProxies():
     global ALMemory
     global ALMotion
     global ALFrameManager
     global ALLeds
     global ALLogger
     global ALSensors
     try:
             ALMemory = inaoqi.getMemoryProxy()
     except:
             ALMemory = ALProxy("ALMemory")
     try:
         ALFrameManager = ALProxy("ALFrameManager")
     except:
         print "No proxy to ALFrameManager"
     try:
         ALMotion = ALProxy("ALMotion")
     except:
         print "No proxy to ALMotion"
     try:
         ALLeds = ALProxy("ALLeds")
     except:
         pass
     try:
         ALLogger = ALProxy("ALLogger")
     except:
         print "No proxy to ALLogger"
     try:
         ALSensors = ALProxy("ALSensors")
     except:
         pass
Exemple #3
0
 def initProxies():
     #Warning: The use of these default proxies is deprecated.
     global ALMemory
     global ALMotion
     global ALFrameManager
     global ALLeds
     global ALLogger
     global ALSensors
     try:
         ALMemory = inaoqi.getMemoryProxy()
     except:
         ALMemory = ALProxy("ALMemory")
     try:
         ALFrameManager = ALProxy("ALFrameManager")
     except:
         print "No proxy to ALFrameManager"
     try:
         ALMotion = ALProxy("ALMotion")
     except:
         print "No proxy to ALMotion"
     try:
         ALLeds = ALProxy("ALLeds")
     except:
         pass
     try:
         ALLogger = ALProxy("ALLogger")
     except:
         print "No proxy to ALLogger"
     try:
         ALSensors = ALProxy("ALSensors")
     except:
         pass