Unable to use xml formatted launch files with ROS2 eloquent
I am trying to get a launch file in the xml format to launch using ros2 launch launch_files launch_file.xml
however when I do so I receive the error [ERROR] [launch]: Caught exception in launch (see debug for traceback): The launch file may have a syntax error, or its format is unknown
. I have modeled the launch file off of the ones found in the demo_examples_cpp package, using the exact same code as the talker.listener.launch.xml
example. I have checked to make sure the file ended up in the share installation folder with my .launch.py files. The .launch.py files work fine. I have also tried passing in the entire path to the ros2 launch command without luck. Any guidance toward getting the XML launch files to work would be greatly appreciated.
@mequi: please always use permalinks when linking to artefacts on Github/Bitbucket/etc. Otherwise we run the risk of your links going stale after some time, reducing the value of your question (and any potential answer).
I've replaced the link to
talker.listener.launch.xml
with a permalink, but please keep it mind next time.Uppp ! I get the same problem, I don't suceed to use xml launch file with ros2 eloquent ....