how do I create .launch file ?
I have to create turtlemimic.launch file which contains:
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>
how do I create file with extension ".launch" ??
Have you tried save as "myfile.launch" in your editor?
To add more depth on @ kscottz comment, you can find a nice tutorial about
roslaunch
in the wiki. It is a video in which you can see how to generate and use launch files.thanks for support, I solve that
you can start from terminal:
touch mylaunchfile.launch and open it with vi mylaunchfile.launch then you can add the content you need