Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions composition_interfaces/srv/LoadNode.srv
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ rcl_interfaces/Parameter[] parameters

# key/value arguments that are specific to a type of container process.
rcl_interfaces/Parameter[] extra_arguments

# Executor used for this node. Leave empty to share the executor
# used for the ComponentManager. Otherwise, a new executor will
# be used for this node. Options:
# + SingleThreadedExecutor
# + MultiThreadedExecutor
string executor_type
Comment on lines +32 to +37
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this makes more sense to keep this as arbitrary string type if user can configure their own defined executor to the component manager. otherwise, maybe predefined enum would be enough? can we not use EventsExecutor here?

Copy link
Copy Markdown
Author

@armaho armaho Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this makes more sense to keep this as arbitrary string type if user can configure their own defined executor to the component manager.

User cannot do that. This is the executor used for the node itself, so ComponentContainer itself must be able to construct an object of the specified executor.

otherwise, maybe predefined enum would be enough?

Yeah, sure. I will do that.

can we not use EventsExecutor here?

There's nothing stoping us. I will add that.


# Number of threads dedicated to the executor for this node. This option
# is only valid if you choose MultiThreadedExecutor as the executor type.
# Leave empty to use the default.
uint8 thread_num
Comment on lines +39 to +42
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the default thread number for MultiThreadedExecutor? hardware thread num?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. I will specify that.


---
# True if the node was successfully loaded.
bool success
Expand Down