Skip to content

Commit 9803723

Browse files
committed
Relaxed distance to achieve poi
1 parent 4932adf commit 9803723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stream_simulator/robot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -982,14 +982,14 @@ def simulation_thread(self):
982982
if self.automation is not None:
983983
if math.hypot(\
984984
xx - self.target_to_reach['x'], \
985-
yy - self.target_to_reach['y']) < 0.01:
985+
yy - self.target_to_reach['y']) < 0.05:
986986
self.logger.warning("Reached POI %s", self.pois_index)
987987
self.logger.warning(" >> Current pois list: %s", self.automation['points'])
988988
has_target = False
989989
if self.next_poi_from_callback is not None:
990990
if math.hypot(\
991991
xx - self.target_to_reach['x'], \
992-
yy - self.target_to_reach['y']) < 0.01:
992+
yy - self.target_to_reach['y']) < 0.05:
993993
self.logger.warning("Reached POI %s", self.pois_index)
994994
self.next_poi_from_callback = None
995995

0 commit comments

Comments
 (0)