Skip to content

Migrate launch files to XML version#315

Open
andreas-loeffler wants to merge 13 commits intoros-drivers:ros2from
andreas-loeffler:refactor/migrate_launch_to_xml
Open

Migrate launch files to XML version#315
andreas-loeffler wants to merge 13 commits intoros-drivers:ros2from
andreas-loeffler:refactor/migrate_launch_to_xml

Conversation

@andreas-loeffler
Copy link
Copy Markdown
Contributor

Refactor: Migrate python launch files to XML launch files

Closes #311 to replace .py launch files with XML equivalents across joy, spacenav, and wiimote. Also adds a new XML launch file for joy_linux

Overview

  • joy: Added joy-launch.xml (plain node) and joy-composed-launch.xml (composable node)

  • joy_linux: Added new launch file joy_linux.launch.xml, the package had no .py launch equivalent before and because of the deprecation strategy only an XML version has been implemented

  • spacenav: Added spacenav-launch.xml as the base launch file; classic-launch.xml, no_deadband-launch.xml, and static_deadband-launch.xml are derived versions that include the base with pre-configured params for their specific use case

  • wiimote: Added feedback_test.launch.xml, turtlesim.launch.xml, and wiimote_lifecycle.launch.xml

For every added XML launch file, its .py launch equivalent now emits a deprecation warning on lyrical and rolling

Notes

  • Following @peci1 suggestion, the .py launch files are kept for now but warn at launch time on lyrical and rolling (based on ROS_DISTRO env var). They can be removed once Jazzy reaches EOL (~2029)!

  • ps3joy is excluded, since it has not been ported to ROS2 yet

@peci1
Copy link
Copy Markdown
Contributor

peci1 commented Apr 11, 2026

Thanks! I'll have a look at this, but I won't be available for the next 2 weeks...

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.

Migrate Python launch files to XML format

2 participants