Creating and compiling a NAOqi module (with the module generator)

Using the GUI

  1. Launch the module generator with:

    cd /path/to/aldebaran-cpp-sdk/modules/src/ python module_generator.py

    Warning:

    On Linux, you will have to install python-tk first. On other platforms, python-tk should already be installed.

  2. In Project Name, put the name of the your project. This will be the name of the library containing your modules. (A given library can contain several modules).
  3. In Modules Names put a blank separated lists of the names of your module.
  4. The Author field is optional.
  5. Click on "Generate".

    > You will see something like:

    Your project has been generated in /path/to/generator/

Using the command line

You can also type:

python module_generator.py -p "project_name" -a "author" module1 module2...

Warning:

The project name and the module name must be valid C++ identifiers!





Copyright © 2010 Aldebaran-Robotics - All rights reserved