Skip to content

Commit

Permalink
add joint poses to misc observation
Browse files Browse the repository at this point in the history
  • Loading branch information
Richie Lo authored and Richie Lo committed Jun 28, 2024
1 parent f2c625f commit 446ad18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rlbench/backend/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,4 +556,6 @@ def _get_cam_data(cam: VisionSensor, name: str):
if self._joint_position_action is not None:
# Store the actual requested joint positions during demo collection
misc.update({"joint_position_action": self._joint_position_action})
joint_poses = [j.get_pose() for j in self.robot.arm.joints]
misc.update({'joint_poses': joint_poses})
return misc

0 comments on commit 446ad18

Please sign in to comment.