Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add joint poses to misc observation #236

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in the observation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The use of joint poses is very uncommon. I don't think it's worth adding this to the main observation config

return misc
Loading