Skip to content

Commit 6abd405

Browse files
(states) more time to get operator in pointing (#1302)
1 parent 8fe304f commit 6abd405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

robot_smach_states/src/robot_smach_states/human_interaction/entity_from_operator_pose.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _show_image(self, timeout=5.0):
7575
rospy.logwarn("Could not get RGB, depth or camera info")
7676
return image_data
7777

78-
def _prep_operator(self, attempts=5):
78+
def _prep_operator(self, attempts=10):
7979
self.operator = None
8080
self._robot.head.reset()
8181
self._robot.speech.speak("Let's point, please stand in front of me!", block=False)
@@ -89,7 +89,7 @@ def _prep_operator(self, attempts=5):
8989
success, found_people_ids = self._robot.ed.detect_people(*image_data)
9090
if any(found_people_ids):
9191
break
92-
rospy.sleep(0.4)
92+
rospy.sleep(0.7)
9393
rospy.loginfo("Not found an operator yet")
9494
else:
9595
rospy.logwarn("Not found an operator at all")

0 commit comments

Comments
 (0)