Example 2.6 problem in roslaunch

RLException: Invalid roslaunch XML syntax: no element found: line 1, column 0
The traceback for the exception was written to the log file

while compiling
roslaunch my_package my_package_launch_file.launch

Hi @oihanealcuaz
can you hare your launch file?

I type
cat my_package_launch_file.launch
and nothing shows

Ohh then you have to fill it in! That’s why it says that the file lacks the correct syntax. Because it’s empty!

1 Like

how can i fill it? its my first day in ROS

Hi @oihanealcuaz ,

Welcome to this Community!

Since you are on ROS Basics course, the contents of the launch file should be mentioned in the course notes itself. Please refer back to the course cotes to find a sample of launch file.
Re-create the same contents of the launch file for your current package.

Regards,
Girish