Skip to content

Ice: Python static code generation

Fabian Reister requested to merge feature/cmake-python-code-generation into master
  • New cmake option ARMARX_CMAKE_ADDON_SLICE_PYTHON_GENERATION

  • Generates python code into build/python directory

Slice files must be adjusted => python package name must be added:

See an example here

#pragma once

#include <RobotAPI/interface/armem/client/MemoryListenerInterface.ice>

#include <mobile_manipulation/interface/SkillExecutionInterface.ice>

[["python:pkgdir:mobile_manipulation"]]
module mobile_manipulation
{

  interface GraspDishwasherHandleInterface extends
      SkillExecutionInterface,
      armarx::armem::client::MemoryListenerInterface
  {

      bool checkPreconditions();

  };

} // module mobile_manipulation

Merge request reports