We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6e1e23 commit 48fb2e7Copy full SHA for 48fb2e7
omnigibson/tasks/behavior_task.py
@@ -383,6 +383,9 @@ def assign_object_scope_with_cache(self, env):
383
)
384
name = inst_to_name[obj_inst]
385
is_system = name in env.scene.available_systems.keys()
386
+ # TODO: If we load a robot with a different set of configs, we will not be able to match with the
387
+ # original object_scope. This is a temporary fix to handle this case. A proper fix involves
388
+ # storing the robot (potentially only base pose) in the task metadata instead of as a regular object
389
if "agent.n." in obj_inst:
390
idx = int(obj_inst.split("_")[-1].lstrip("0")) - 1
391
entity = env.robots[idx]
0 commit comments