From 3ea77f6697a7b96d1c0962ecad80ac2aa06ffe5d Mon Sep 17 00:00:00 2001
From: Ely Repiso Polo <erepiso@iri.upc.edu>
Date: Wed, 8 May 2019 11:20:55 +0000
Subject: [PATCH] the method works for an approached person moving

---
 launch/fake_laser_gen.launch    | 2 +-
 launch/fake_localization.launch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/launch/fake_laser_gen.launch b/launch/fake_laser_gen.launch
index 4b46292..98d62fa 100644
--- a/launch/fake_laser_gen.launch
+++ b/launch/fake_laser_gen.launch
@@ -5,7 +5,7 @@
       type="fake_laser_gen"
       name="$(optenv ROBOT tibi)_fake_laser_gen"
       output="screen">
-    <param name="laser_mode" value="9" />
+    <param name="laser_mode" value="0" />
     <remap from="~scan" to="/$(optenv ROBOT tibi)/sensors/front_laser_scan"/>
   </node>
 
diff --git a/launch/fake_localization.launch b/launch/fake_localization.launch
index 8b3c095..7d5e1ba 100644
--- a/launch/fake_localization.launch
+++ b/launch/fake_localization.launch
@@ -11,7 +11,7 @@
       <param name="global_frame_id"   value="/map" />
       <param name="base_frame_id"   value="/$(optenv ROBOT tibi)/base_footprint" />
       <param name="delta_x"   value="0.0" />
-      <param name="delta_y"   value="0.5" />
+      <param name="delta_y"   value="0.0" />
       <param name="delta_yaw" value="0.0" />
       <remap from="/odom" to="/$(optenv ROBOT tibi)/segway/odom"/>
       <remap from="base_pose_ground_truth" to="/$(optenv ROBOT tibi)/segway/odom"/>
-- 
GitLab