From 15886b77cbf62583b4552297944c4decedbbb144 Mon Sep 17 00:00:00 2001 From: hang-yin Date: Tue, 22 Oct 2024 11:07:03 -0700 Subject: [PATCH] More default attempts for action primitives --- .../action_primitives/starter_semantic_action_primitives.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnigibson/action_primitives/starter_semantic_action_primitives.py b/omnigibson/action_primitives/starter_semantic_action_primitives.py index 05fa48131..1b1aec0d0 100644 --- a/omnigibson/action_primitives/starter_semantic_action_primitives.py +++ b/omnigibson/action_primitives/starter_semantic_action_primitives.py @@ -491,7 +491,7 @@ def apply(self, action): action = StarterSemanticActionPrimitiveSet(action_idx) return self.apply_ref(action, target_obj) - def apply_ref(self, prim, *args, attempts=3): + def apply_ref(self, prim, *args, attempts=5): """ Yields action for robot to execute the primitive with the given arguments.