Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have gedit already installed, I don't understand " Rename it with .launch extension"?

I copy pasted the line, 1 <launch> 2 3 <group ns="turtlesim1"> 4 <node pkg="turtlesim" name="sim" type="turtlesim_node"/> 5 </group> 6 7 <group ns="turtlesim2"> 8 <node pkg="turtlesim" name="sim" type="turtlesim_node"/> 9 </group> 10 11 <node pkg="turtlesim" name="mimic" type="mimic"> 12 <remap from="input" to="turtlesim1/turtle1"/> 13 <remap from="output" to="turtlesim2/turtle1"/> 14 </node> 15 16 </launch>

I saved it to home/pc/catkin_ws/src/beginner_tutorials/launch but it said I didnt have permission so I sudo it and it saved then but its not an xml file its a plain text file,

I do I save it in XML?

click to hide/show revision 2
No.2 Revision

I have gedit already installed, I don't understand " Rename it with .launch extension"?

I copy pasted the line, 1

 <launch> 2 3  <group ns="turtlesim1"> 4    
 <node pkg="turtlesim" name="sim" type="turtlesim_node"/>
     </group>     
 <group ns="turtlesim2">    
 <node pkg="turtlesim" name="sim" type="turtlesim_node"/> 5  </group> 6 7 <group ns="turtlesim2"> 8 <node pkg="turtlesim" name="sim" type="turtlesim_node"/> 9 </group> 10 11  <node pkg="turtlesim" name="mimic" type="mimic"> 12  <remap from="input" to="turtlesim1/turtle1"/> 13  <remap from="output" to="turtlesim2/turtle1"/> 14  </node> 15 16 </launch>

</launch>

I saved it to home/pc/catkin_ws/src/beginner_tutorials/launch but it said I didnt have permission so I sudo it and it saved then but its not an xml file its a plain text file,

I do I save it in XML?