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

[Fix] Fix trajectory conversion to ee-based controllers #23

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

Jiayuan-Gu
Copy link
Contributor

I've tested with two environments: PlugCharger-v0 and TurnFaucet-v0

PlugCharger-v0

python tools/replay_trajectory.py --traj-path demos/rigid_body_envs/PlugCharger-v0.h5 -c pd_ee_delta_pose --vis --verbose

The original success rate is low with ee-based controllers. Now it almost works 100%.

PlugCharger-v0

python tools/replay_trajectory.py --traj-path demos/rigid_body_envs/TurnFaucet-v0/5001.h5 -c  pd_ee_target_delta_pose --vis --verbose

The success rate improves for both motion planning trajectories (5001, 5002) and MPC ones (5000).

@Jiayuan-Gu Jiayuan-Gu linked an issue Sep 4, 2022 that may be closed by this pull request
Copy link
Contributor

@tongzhoumu tongzhoumu left a comment

Choose a reason for hiding this comment

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

Should work on Panda, but needs to re-consider if using mobile agents.

@Jiayuan-Gu
Copy link
Contributor Author

Should work on Panda, but needs to re-consider if using mobile agents.

I agree with it. It is also what I have considered. I find all needs to be re-designed when mobile agents are introduced.

@Jiayuan-Gu Jiayuan-Gu merged commit 98ee462 into main Sep 5, 2022
@Jiayuan-Gu Jiayuan-Gu deleted the fix-convert-control-mode branch September 6, 2022 02:29
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.

Converting demonstration to ee does not work
2 participants