Problem with part1 -( basics of ros) rosject

I am always getting this error while i am trying to launch this file which is the part of my rosject
. Where am I going wrong? Please help!!

Hello @prarthana.sigedar ,

This error message means that your XML file, the launch file, may have a syntax error.

Could you copy and paste the content of this file here?

Thank you

@marco.nc.arruda my LAUNCH FILE

<!-- My Package launch file -->

<node pkg="turtlebot3_move " type="turtlebot3_sub_pub.py" name= "turtlebot3_node "  output="screen">

</node>

@marco.nc.arruda #MY XML FILE

<?xml version="1.0"?>

turtlebot3_move

0.0.0

The turtlebot3_move package

user

TODO

<buildtool_depend>catkin</buildtool_depend>

<build_depend>rospy</build_depend>

<build_depend>sensor_msgs</build_depend>

<build_depend>std_msgs</build_depend>

<build_export_depend>rospy</build_export_depend>

<build_export_depend>sensor_msgs</build_export_depend>

<build_export_depend>std_msgs</build_export_depend>

<exec_depend>rospy</exec_depend>

<exec_depend>sensor_msgs</exec_depend>

<exec_depend>std_msgs</exec_depend>

<!-- Other tools can request additional information be placed here -->

Your launch file should have the <launch> tag.
Also, remove the extra spaces in the <node> tag.
Should be something like:

<!-- My Package launch file -->
<launch>
  <node pkg="turtlebot3_move" type="turtlebot3_sub_pub.py" name="turtlebot3_node" output="screen">
  </node>
</launch>
1 Like

will check this and get back!