Skip to content
Snippets Groups Projects
Commit 9e7ffd31 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Parameter base_frame_id moved from yaml to launch, to be able to use ns argument

parent 47ec4de1
No related branches found
No related tags found
1 merge request!1Changed the macro used to create new plugins.
# sensor information # sensor information
base_frame_id: "ana/base_footprint" #base_frame_id: "ana/base_footprint"
min_range: 0.1 min_range: 0.1
max_range: 50.0 max_range: 50.0
sensor_height: 0.3 sensor_height: 0.3
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<arg name="output" default="screen"/> <arg name="output" default="screen"/>
<arg name="launch_prefix" default=""/> <arg name="launch_prefix" default=""/>
<arg name="cloud_in" default="~pointcloud_in"/> <arg name="cloud_in" default="~pointcloud_in"/>
<arg name="base_frame_id" default="$(arg ns)/base_footprint"/>
<group ns="$(arg ns)"> <group ns="$(arg ns)">
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
launch-prefix="$(arg launch_prefix)"> launch-prefix="$(arg launch_prefix)">
<remap from="~pointcloud_in" to="$(arg cloud_in)"/> <remap from="~pointcloud_in" to="$(arg cloud_in)"/>
<rosparam file="$(arg config_file)" command="load"/> <rosparam file="$(arg config_file)" command="load"/>
<param name="base_frame_id" value="$(arg base_frame_id)"/>
</node> </node>
</group> </group>
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<arg name="output" default="screen"/> <arg name="output" default="screen"/>
<arg name="launch_prefix" default=""/> <arg name="launch_prefix" default=""/>
<arg name="cloud_in" default="~pointcloud_in"/> <arg name="cloud_in" default="~pointcloud_in"/>
<arg name="base_frame_id" default="$(arg ns)/base_footprint"/>
<group ns="$(arg ns)"> <group ns="$(arg ns)">
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
output="$(arg output)"> output="$(arg output)">
<remap from="~pointcloud_in" to="$(arg cloud_in)"/> <remap from="~pointcloud_in" to="$(arg cloud_in)"/>
<rosparam file="$(arg config_file)" command="load"/> <rosparam file="$(arg config_file)" command="load"/>
<param name="base_frame_id" value="$(arg base_frame_id)"/>
</node> </node>
</group> </group>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment