From a473a0d670b54dfabbbafd26241c5851aa4e2a96 Mon Sep 17 00:00:00 2001 From: arth-shukla <44527268+arth-shukla@users.noreply.github.com> Date: Sun, 21 Jan 2024 19:26:14 -0800 Subject: [PATCH] Fix: fetch sensor cfg --- mani_skill2/agents/robots/fetch/fetch.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mani_skill2/agents/robots/fetch/fetch.py b/mani_skill2/agents/robots/fetch/fetch.py index 7c22338b6..78a2c5287 100644 --- a/mani_skill2/agents/robots/fetch/fetch.py +++ b/mani_skill2/agents/robots/fetch/fetch.py @@ -43,7 +43,19 @@ class Fetch(BaseAgent): ), ), ) - sensor_configs = [] + sensor_configs = [ + CameraConfig( + uid="fetch_head", + p=[0, 0, 0], + q=[1, 0, 0, 0], + width=128, + height=128, + fov=1.57, + near=0.01, + far=10, + entity_uid="head_camera_link", + ) + ] def __init__(self, *args, **kwargs): self.arm_joint_names = [