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

sciencectn's profile - activity

2021-10-20 01:26:30 -0500 received badge  Good Question (source)
2019-10-07 16:00:16 -0500 received badge  Nice Question (source)
2017-08-09 16:37:46 -0500 received badge  Enthusiast
2016-12-07 04:11:22 -0500 received badge  Student (source)
2016-12-07 04:10:26 -0500 received badge  Famous Question (source)
2016-12-07 04:10:26 -0500 received badge  Notable Question (source)
2016-09-07 02:54:24 -0500 received badge  Popular Question (source)
2016-07-13 09:52:48 -0500 received badge  Scholar (source)
2016-07-13 09:52:48 -0500 received badge  Supporter (source)
2016-07-12 18:45:41 -0500 asked a question unused args [...] for include of [...]

I'm trying to pass an argument to a launch file, and I keep getting this error.

The main launch file has something like this:

<?xml version="1.0"?>
<launch>
    <include file="$(find p2os_urdf)/launch/upload_pioneer3at.xml">
        <arg name="foo" value="bar"/>
    </include>
 ...
</launch>

The included file looks like this:

<?xml version="1.0"?>
<launch>
    <param name="testing" value="$(arg foo)"/>
</launch>

Yet I keep getting this error:

unused args [foo] for include of [/home/sciencectn/builds/ros/src/p2os_urdf/launch/upload_pioneer3at.xml]

I assume it means the "foo" argument was never used when it clearly is. What's going on?