Wednesday, November 9, 2011

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 the toolchain works properly in MAC no problems

LINKS
http://users.aldebaran-robotics.com/docs/site_en/reddoc/sdk/using_cmake.html

Abishek

No comments:

Post a Comment