Skip to content

Add parsing for rest of obvious boolean extra arguments and throw for unsupported ones#2685

Merged
mjcarroll merged 2 commits intoros2:rollingfrom
rcp1:rolling
Dec 13, 2024
Merged

Add parsing for rest of obvious boolean extra arguments and throw for unsupported ones#2685
mjcarroll merged 2 commits intoros2:rollingfrom
rcp1:rolling

Conversation

@rcp1
Copy link
Copy Markdown
Contributor

@rcp1 rcp1 commented Nov 22, 2024

Improves situation for #978.

Instead of arbitrarily only allowing forward_global_arguments and use_intra_process_comms as extra arguments for loading a component, this PR enables support for all obvious boolean node options.

#978 discusses more problematic options like allow_undeclared_parameters, which are still unsupported.

At least, this PR adds an error message if such or other unsupported extra arguments are passed.

rcp1 added 2 commits November 22, 2024 22:25
Signed-off-by: Robin Petereit <robin.petereit@tum.de>
Signed-off-by: Robin Petereit <robin.petereit@tum.de>
@mjcarroll
Copy link
Copy Markdown
Member

Pulls: #2685
Gist: https://gist.githubusercontent.com/mjcarroll/4cf1ea0d0bfd14e07de243e49cbf7504/raw/35d3b41794eef76f498efb6802804c62de94cd4f/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp_components
TEST args: --packages-above rclcpp_components
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14951

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

this is not well-described in ros2 documentation, it is really hard to know for user what extra arguments are available. I can follow this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants