0
$\begingroup$

I have a python node ( ROS2 Humble), that I would like to convert it to a composable node.

I could not find any documentation on the python equivalent to the rclcpp_components_register_node cmake command. I would assume that I would need to adjust the python code of the node as well as the setup.py file.

I did many trials in the node.py and setup.py as per some recommendations from ChatGpt for all trials, I got the following error when launching:

[ERROR] [bar.container]: Could not find requested resource in ament index [ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'foo_node' of type 'foo_node' in container '/bar/container': Could not find requested resource in ament index

It would be great if you could help me figure this out. Thanks.

$\endgroup$

1 Answer 1

1
$\begingroup$

Composable node support only exists for rclcpp https://docs.ros.org/en/rolling/The-ROS2-Project/Features.html

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.