Posts

Showing posts with the label NAO

Setting up the SDK for NAO in MAC

SDK The source developer kit allows you to write your own Cpp or python script to be executed by the NAO. This post explains how to set up the SDK in Mac. Download and Installation of NAO SDK 1.      Download SDK from http://users.aldebaran-robotics.com/ -> software -> downloads 2.      Download cmake from http://www.cmake.org/cmake/resources/software.html and install 3.      Extract the SDK to a location (say: /path to/sdk/) 4.      export DYLD_LIBRARY_PATH= /path to/sdk/lib 5.      export DYLD_FRAMEWORK_PATH = /path to/sdk/lib 6.      export PYTHONPATH = /path to/sdk/lib 7.      go to /path to/sdk/modules/src/examples/helloworld/ 8.      mkdir build 9.      cd build 10.   cmake –DCMAKE_TOOLCHAIN_FILE=/path to/sdk/toolchain-pc.cmake .. 11.   make No errors must occur -Cmake and t...

Working with Choreographe - Hands on tutorial

Working with choreographe Tutorial – Creating a movement from scratch - http://users.aldebaran-robotics.com/docs/site_en/greendoc/choregraphe/creating_movement_from_scratch.html  Preliminary steps 1. Open Choreographe 2. Open NAOSIM 3. Connect choreographe to local NAO as explained in previous posts, Then, 1.      In the box library, choose templates – animation box. Drag and drop it on the flow diagram area 2.      Double click on the animation box, timeline pops out 3.      The time line has a number of frames. Frames are similar to the movie frames, which are played one after the other to show movement on screen. 4.      Key frames are frames that indicate a particular important position that we are interested in. other frames in the intermediate show the transition between key frames. 5.      Click on a frame at any index other than index 1 (say index 5). A bl...

Virtual Simulation using NAOSIM

Image
NAOSIM   NAOSIM is used to simulate the NAO in a virtual environment. Make sure NAOSIM, CHOREOGRAPHE, NAOQI are installed. Setting up NAOSIM and CHOREOGRAPHE 1.      Launch CHOREOGRAPHE 2.      Launch NAOSIM 3.      In NAOSIM click on the start button (the play button) to start the virtual NAO 4.      In CHOREOGRAPHE, click connect and select the local NAO which has the name of the computer Handling objects in NAOSIM 1.      Open the NAOSIM window 2.      Click on view – objects 3.      Select an object and click on the location where you want the object to be placed. 4.      You can rotate, move and resize the object using the icons that are present on the NAOSIM toolbar 5.      To delete an either select the object and press delete key (Fn+backspace in Mac) or go to view – explorer and sel...

Using Choreographe to program the NAO

Using CHOREOGRAPHE ·       After CHOREOGRAPHE is installed, open it from the applications folder ·       Connect to the NAO robot, (after checking out whether it is connected to the network using its IP address as described in previous post), using the connect icon ·       Enable the “Use fixed IP/Hostname” check box and type in the IP address of the NAO robot (press the center button of NAO and he will tell you his IP address) ·       After a connection is established, you will see the NAO in the NAO 3D window of CHOREOGRAPHE simulating the original NAO ·       You can program commands on the program window and have NAO execute them using the play button. Documentation for CHOREOGRAPHE - http://users.aldebaran-robotics.com/docs/site_en/greendoc/choregraphe/choregraphe.html Abishek

Setting up NAO for the first time

You need a wireless router to connect to the NAO for the first time and to set up a wireless connection in NAO. The steps are as follows. CONNECTING TO THE NAO  Installation of three software from the CD 1. CHOREOGRAPHE 2. NAOQI 3. NAOSIM Mandatory Step (Before a wireless connection is set up): ·       You need to connect NAO to a wired connection in order to set up a wireless connection. ·       Connect the NAO robot to a port on the router and your laptop on another port. ·       Turn the robot on. ·       Press the center button. If the robot is connected, it will say an IP address. ·       Open the web browser and type the IP address ·       A login page will be displayed. Use “nao” for both the username and password. ·       Alternatively you can use “bonjour” app that comes with safari (MAC) to ...

Beginning NAO

Hey, I got a new NAO to play with. I am recording the steps I followed in order to set it up and get it running. The following series is from a beginners perspective on working with the NAO robot. Hope someone out there finds it useful. I am using a MAC for NAO though the softwares are available for Windows, Mac and Linux. For linux, the cross compilers etc have been tested with Ubuntu 10.10 (Meerkat). The cross compilers do not work with 11.04. So if you are using Linux use Ubuntu 10.10 for the "less" time consuming approach. Have fun, Abishek