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 image agbj  ( 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

Comments

but sir how will you make it as xml file as well as launch file ,will you add .xml or .launch as extension

nullspace gravatar image nullspace  ( 2020-09-10 08:59:34 -0500 )edit

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: 816 times

Last updated: Sep 24 '17