Running Python code on the robot¶
Here we will try to have the script found in the Reacting to events tutorial running automatically at naoqi startup.
Upload the script on the robot, for instance to
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.