Skip to content

Commit

Permalink
add joint poses to misc observation (#236)
Browse files Browse the repository at this point in the history
Co-authored-by: Richie Lo <[email protected]>
  • Loading branch information
richielo and Richie Lo authored Jul 2, 2024
1 parent 539138d commit 8fc31bf
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 8fc31bf

Please sign in to comment.