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

Conversation

richielo
Copy link
Contributor

No description provided.

@@ -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

@stepjam stepjam merged commit 8fc31bf into stepjam:master Jul 2, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants