Ask Your Question

Revision history [back]

If choregraphe + nao_openni doesn't work for some reason, try running nao_openni, then from a separate bash screen try simply:

python

from naoqi import ALProxy
mp = ALProxy("ALMotion", NAO_IP, NAO_PORT)
fdp = ALProxy("ALFaceDetection", NAO_IP, NAO_PORT)
ftp = ALProxy("ALFaceTracker", NAO_IP, NAO_PORT)

mp.setStiffnesses("HeadYaw",1.0)
mp.setStiffnesses("HeadPitch",1.0)
fdp.enableTracking()
ftp.startTracking()

If this works, then we can copy it in a .py file and make it a node for nao_openni.