Ask Your Question
1

how to create a the launch file xml

asked 2017-04-01 08:12:30 -0500

zpzsky gravatar image

updated 2017-09-24 18:25:11 -0500

jayess gravatar image

i follow the tutorials to 2.3 The launch file .the tutorials just tell us to :"Now let's create a launch file called turtlemimic.launch and paste the following: "but it doesn't tell us how to create a launch file .so ,i really don't know where to past the scripts it provides :

<launch>

  <group ns="turtlesim1">
    <node pkg="turtlesim" name="sim" type="turtlesim_node"/>
  </group>

  <group ns="turtlesim2">
    <node pkg="turtlesim" name="sim" type="turtlesim_node"/>
  </group>

  <node pkg="turtlesim" name="mimic" type="mimic">
    <remap from="input" to="turtlesim1/turtle1"/>
    <remap from="output" to="turtlesim2/turtle1"/>
  </node>

</launch>

so ,could any can tell me how to create a launch file and where to paste the scripts .

edit retag flag offensive close merge delete

Comments

Typically the .launch files stay inside a catkin package in the folder launch. Not sure if this is the answer that you pretend. If not please be more explicit

agbj gravatar imageagbj ( 2017-04-01 09:55:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-01 13:00:52 -0500

ahendrix gravatar image

A launch file is a text file whose name ends in .launch; you can create them with your favorite text editor or IDE.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-04-01 08:12:30 -0500

Seen: 443 times

Last updated: Sep 24 '17