rclcpp icon indicating copy to clipboard operation
rclcpp copied to clipboard

Add option for the events executor to the isolated component container

Open Timple opened this issue 1 year ago • 7 comments

Timple avatar May 27 '24 09:05 Timple

Before we move forward with this, I think it'd be good to do @fujitatomoya's comment of adding this to the ComponentManager as well.

audrow avatar Jun 06 '24 17:06 audrow

EventsExecutor is still experimental

we should have a discussion on what would be the steps necessary to bring it out of experimental, but IMO this shouldn't prevent from using it here (especially because it's not the default).

Before adding EventsExecutor to ComponentManagerIsolated, probably we would want to support ComponentManager?

I agree. Moreover, I wonder if we really need all these separate executables (component_container_mt.cpp, component_container.cpp, component_container_isolated.cpp). IMO we could just have 1 executable with a bunch of arguments: --isolated (true if present) and --executor-type (second argument is the name of the executor)

alsora avatar Jun 07 '24 02:06 alsora

Your last arguments (--isolated & --executor-type) did cross my mind. But I was afraid about acceptance of larger PR's and backportability to Jazzy. But they can actually easily be extended without bracking api. So I'll happy refactor to that syntax if you agree :+1:

Timple avatar Jun 07 '24 06:06 Timple

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/the-ros-2-c-executors/38296/5

ros-discourse avatar Jun 24 '24 05:06 ros-discourse

@Timple the PR looks good. Would you mind merging / rebasing your branch with rolling so that I can start the CI?

alsora avatar Aug 27 '24 02:08 alsora

Rebased

Timple avatar Aug 27 '24 05:08 Timple

Why is this blocked?

SteveMacenski avatar Dec 13 '24 01:12 SteveMacenski

So it seems that I got bypassed here: https://github.com/ros2/rclcpp/pull/2885

If more hardcoded nodes is the way to go, this can be closed I guess?

Timple avatar Aug 15 '25 09:08 Timple

@Timple thanks for circling back to this.

this PR is the another enhancement to add the option to isolated container, but https://github.com/ros2/rclcpp/pull/2885 only adds the another executable with EventsExecutor. where i can see, these two enhancement is really different.

but that is up to you. if you are good to go with https://github.com/ros2/rclcpp/pull/2885 and please go ahead to close this PR. when someone finds and takes over this PR, that is when we can come back to this enhancement?

fujitatomoya avatar Aug 16 '25 02:08 fujitatomoya

I think I never saw your review and was under the impression this was good to go. I'll implement your requested changes!

Timple avatar Aug 18 '25 08:08 Timple

How do I get the more-information-label removed?

I have the feeling this PR is stale because every PR with this label is simply overlooked? I rebased once again to make Ci happy.

Timple avatar Nov 17 '25 06:11 Timple