Getting Started in python: - Download the nao-python.tgz file below on a linux box, on the same network as the Nao
- Change naoinit.sh to point to your alderbaran sdk directory
- Ping nao.local to see if the Nao is visible.
- run ./naoinit.sh
- Paste the code from examples.py into your python shell to connect to the robot
- import naobot as N
- import routines as R
- bot=N.Nao() #create a python object to access the Nao
- R.sense_logger(bot,"tmp") #save various sensors to file, while moving some joints.
|
ď Critter Bot, Aug 2, 2011 1:42 PM
|