From 8b275c026a3283c9b256e8802d285f3c31de5d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergi=20Hern=C3=A0ndez=20Juan?= <shernand@iri.upc.edu> Date: Tue, 7 Apr 2015 09:10:23 +0000 Subject: [PATCH] Added the ROS_MODE envirnment variable. --- launch/tibi_dabo_local_bin_nodes.launch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/launch/tibi_dabo_local_bin_nodes.launch b/launch/tibi_dabo_local_bin_nodes.launch index 56c772e..eb72b8e 100644 --- a/launch/tibi_dabo_local_bin_nodes.launch +++ b/launch/tibi_dabo_local_bin_nodes.launch @@ -3,7 +3,7 @@ <launch> <!-- load robot defined machines --> - <include file="$(find tibi_dabo_base)/machines/$(env ROBOT).machines" /> + <include file="$(find tibi_dabo_base)/machines/$(env ROBOT)_$(env ROS_MODE).machines" /> <group ns="$(env ROBOT)"> <node name="local_th" @@ -28,9 +28,9 @@ <param name="marker_pattern_list" type="string" value="$(find ar_pose)/data/object_4x4"/> <param name="threshold" type="int" value="100"/> <param name="use_history" type="bool" value="true"/> - <remap from="/camera/image_raw" + <remap from="/$(env ROBOT)/camera/image_raw" to="/$(env ROBOT)/local_th/image_out/image_raw"/> - <remap from="/camera/camera_info" + <remap from="/$(env ROBOT)/camera/camera_info" to="/$(env ROBOT)/local_th/image_out/camera_info"/> </node> </group> -- GitLab