Skip to content

Commit

Permalink
Update pick_cube.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneT2000 committed Mar 3, 2024
1 parent a3b4edd commit 9705f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mani_skill2/envs/tasks/pick_cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _get_obs_extra(self, info: Dict):
)
if "state" in self.obs_mode:
obs.update(
obs_pose=self.cube.pose.raw_pose,
obj_pose=self.cube.pose.raw_pose,
tcp_to_obj_pos=self.cube.pose.p - self.agent.tcp.pose.p,
obj_to_goal_pos=self.goal_site.pose.p - self.cube.pose.p,
)
Expand Down

0 comments on commit 9705f1c

Please sign in to comment.