Skip to content

fix node args used to launch joy nodes via launch file#309

Merged
peci1 merged 2 commits intoros-drivers:ros2from
andreas-loeffler:fix/launch_parameter
Mar 8, 2026
Merged

fix node args used to launch joy nodes via launch file#309
peci1 merged 2 commits intoros-drivers:ros2from
andreas-loeffler:fix/launch_parameter

Conversation

@andreas-loeffler
Copy link
Copy Markdown
Contributor

@andreas-loeffler andreas-loeffler commented Feb 13, 2026

FIX

This PR is fixing the usage of the ComposableNode and Node arguments to work under ros2 jazzy and rolling, by removing the outdated node_ prefix for the class arguments

Signed-off-by: Andreas Loeffler <73336148+andreas-loeffler@users.noreply.github.com>
@peci1 peci1 self-assigned this Feb 15, 2026
Copy link
Copy Markdown
Contributor

@peci1 peci1 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix. I really wonder where does the previous syntax come from... Even Humble does not seem to be using it. So I think merging this fix is safe if we consider that ros2 branch should work on all supported distros, which is currently Humble, Jazzy, Kilted and Rolling.

One thing I'd like to sneak in in this PR: would you please also change this line

to read device_name: ""? Otherwise, the launch files are useless...

@peci1
Copy link
Copy Markdown
Contributor

peci1 commented Mar 7, 2026

Anyways, I'd like to switch to XML launch files and deprecate the Python ones, but that's for a different PR...

Signed-off-by: Andreas Loeffler <73336148+andreas-loeffler@users.noreply.github.com>
@andreas-loeffler
Copy link
Copy Markdown
Contributor Author

Thanks for the fix. I really wonder where does the previous syntax come from... Even Humble does not seem to be using it. So I think merging this fix is safe if we consider that ros2 branch should work on all supported distros, which is currently Humble, Jazzy, Kilted and Rolling.

One thing I'd like to sneak in in this PR: would you please also change this line

to read device_name: ""? Otherwise, the launch files are useless...

fixed in c3e4944

I think the "node_" prefix was an artifact from dashing/eloquent, its deprecated since foxy haha

@andreas-loeffler
Copy link
Copy Markdown
Contributor Author

Anyways, I'd like to switch to XML launch files and deprecate the Python ones, but that's for a different PR...

lmk if u want me to open an issue regarding that. I'd be happy to take a look at that!

@andreas-loeffler andreas-loeffler requested a review from peci1 March 8, 2026 14:12
@peci1
Copy link
Copy Markdown
Contributor

peci1 commented Mar 8, 2026

lmk if u want me to open an issue regarding that. I'd be happy to take a look at that!

Please do! Thanks ;)

@peci1 peci1 merged commit c6e6e8c into ros-drivers:ros2 Mar 8, 2026
7 checks passed
@andreas-loeffler andreas-loeffler deleted the fix/launch_parameter branch March 8, 2026 18:51
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.

2 participants