Creating C++ Modules and Calling them from Python
10 Nov
I was going to write a whole tutorial here, but I probably couldn’t explain it any better than this guy:
http://robotica.unileon.es/
There’s one complication though: The code will not run on the Nao unless you remove “BOOST_DATE_TIME” from the “ALCOMMON_DEPENDS” entry of the cmake interface. That is, when the guide tells you to type
“cmake -DCMAKE_TOOLCHAIN_FILE=../../../../../nao-cross-toolchain-1.10.10/toolchain-geode.cmake ..”,
you actually have to use the cmake-gui, locate the “ALCOMMON_DEPENDS” entry, and remove “BOOST_DATE_TIME” from it.
Remember to add your project’s name to the Nao’s autoload.ini (not your module name) and reboot the Nao.

