Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ROS2 launch parameters namespace and name. #1838

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

vacabun
Copy link
Contributor

@vacabun vacabun commented Mar 7, 2023

  1. The plugin denylist allowlist plugin_allowlist and plugin_denylist.

  2. When change the node's namespace, the plugin parameters cannot be loaded normally.
    The parameter file needs to fit into the namespace.
    Like this:

    /mavros/**:
      ros__parameters:
        startup_px4_usb_quirk: false
    
    /mavros/**/conn:
      ros__parameters:
        heartbeat_rate: 1.0    # send heartbeat rate in Hertz
        heartbeat_mav_type: "ONBOARD_CONTROLLER"
    

    Use /** to fit the new namespace.
    It can alse fit the default namespace mavros.

Copy link
Member

@vooon vooon left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@vooon vooon added this to the Version 2.5 milestone Mar 8, 2023
@vooon vooon added this to TODO in ROS2 support via automation Mar 8, 2023
@vooon vooon added the ros2 label Mar 8, 2023
@vooon vooon merged commit 01eccd8 into mavlink:ros2 Mar 8, 2023
ROS2 support automation moved this from TODO to Done Mar 8, 2023
@vacabun vacabun deleted the launch_namespace_fix branch March 8, 2023 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
ROS2 support
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants