Running Python code on the robot

Here we will try to have the script found in the Making a Python module - Reacting to events tutorial running automatically at naoqi startup.

Upload the script on the robot, for instance to /home/nao/, then edit the /home/nao/naoqi/preferences/autoload.ini file to have:


Note that the –pip and –pport option are automatically set by NAOqi while it runs the script.