How To Add a Python Module

  • Navigate to the root directory your ArmarX package (i.e. the directory containing the top-level CMakeLists.txt)
  • To create a python module named the_module, run:
    armarx-package add python the_module

It is highly advisable to use python modules together with virtual environments. To avoid having to set up the virtual environment manually, ensure to configure the Axii module properly.

Afterwards, run the prepare step of Axii once inside your project directory to create the virtual environment:

axii workspace prepare --this --no-dependencies