ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Pass a package name to a lanch file and retrieve path

asked 2017-09-29 03:07:40 -0500

muttidrhummer gravatar image

hello, i'm trying to pass a package name to launch file in order to find the path with $(find package_name_arg). This fails and i don't know how to fix it. Does anyone knows? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-09-29 03:41:43 -0500

muttidrhummer gravatar image
<arg name="package" />
    <include file="$(eval find(package) + '/launch/demo.launch' )" />

SOLVED LIKE THIS thanks

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-09-29 03:07:40 -0500

Seen: 310 times

Last updated: Sep 29 '17