Ask Your Question

How to put a launch file?

asked 2015-06-17 20:59:47 -0500

psprox96 gravatar image

Hi all.

I'm trying to create a launch file as part of Hokuyo TF.

  <node pkg="tf" type="static_transform_publisher" name="odom_to_base_link" args="0 0 0 0 0 0 odom base_link 100" />
  <node pkg="tf" type="static_transform_publisher" name="US6" args="0 7 2 1.5708 0 0 base_link laser 100" />

Credits to Malefitz for the codes.

However, I'm wondering where should I copy the .launch file to.

Thanks for any help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-17 21:27:14 -0500

130s gravatar image

Put launch files into the package you pass as the 1st argument.

$ roslaunch [package] [filename.launch]

As noted in the tutorial, roslaunch command automatically looks into the passed package and detect available launch files.

edit flag offensive delete link more


Thanks! I got it!

psprox96 gravatar image psprox96  ( 2015-06-17 21:37:23 -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

1 follower


Asked: 2015-06-17 20:59:47 -0500

Seen: 560 times

Last updated: Jun 17 '15