ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can't mix source code languages in one ament package. I would make two packages of it and allow ament to solve dependencies. As an alternative, build the c++ lib statically and place it in the python package as a data file.
Or, tell ament how to deal with your mixed package. You can have a look at https://github.com/colcon/colcon-meson or related for an example on how to extend colcon. But I get the feeling that this is more of a one-off type situation.