[ROS2] colcon build not getting subfolders
Hi,
once a python package grows I would like to get files in module subfolders below the package. Also maybe other ressources as config or picture files would be good
How could I develop modules below the ros2 package make available to the ros2 package ?
To verify I have created that example package try_srv
where the test script combine_two_strings.py works fine
but the service combine_two_strings_server.py
failes with 'No module named combiner'
Thanks for any hint on that
Please do not post screenshots of terminal text. It's all text, so just copy-paste it into your question.
As-is, your question now violates the Support Guidelines.
Also please note:
SUBPACKAGE
in your screenshot is typically called module in Python. If you really meant "sub package", then nested packages are not supported.ok will remember the no screen shot policy next time. Is there a possibility to write my own modules ?
@vKuehn please edit your post so we can help you better. You can definitely write your own modules and embed them in the packages. It works like any other python package.
@tfoote edited the post for clarification. I have also linked a very simple example to github where the failure can be reproduced / understood better. thanks for any review /hint