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

Gym doesn't support End Effector-related action mode (EE_POSE) #50

Closed
bycn opened this issue Mar 31, 2020 · 3 comments
Closed

Gym doesn't support End Effector-related action mode (EE_POSE) #50

bycn opened this issue Mar 31, 2020 · 3 comments

Comments

@bycn
Copy link

bycn commented Mar 31, 2020

Setting action_mode = ActionMode(ArmActionMode.DELTA_EE_POSE) for the gym reach_target task, for example, gives rlbench.task_environment.InvalidActionError: Could not find a path. This is due to the action_space giving out of bounds possibilities.

Edit: after looking into this it seems that the IK breaks even with tiny epsilon (< 0.0005) movement, perhaps when colliding into an object? not sure.

@bycn bycn changed the title Gym End Effector-related action mode doesn't work (EE_POSE) Gym doesn't support End Effector-related action mode (EE_POSE) Mar 31, 2020
@stepjam
Copy link
Owner

stepjam commented Mar 31, 2020

Yes the deltas need to be small because its using the Jacobians. If you want a larger delta, then you can use ABS_EE_POSE_PLAN or DELTA_EE_POSE_PLAN in V 1.0.6: https://github.com/stepjam/RLBench/blob/1.0.6/rlbench/action_modes.py#L45.

This will be merged into main soon. It uses path planning to get to a target rather than getting the joint angles via the Jacobian.

Please reopen if you have further questions :)

@stepjam stepjam closed this as completed Mar 31, 2020
@bycn
Copy link
Author

bycn commented Mar 31, 2020

Thank you stephen!

@bycn
Copy link
Author

bycn commented Mar 31, 2020

I can't reopen this issue — but could you tell me what delta for example the panda arm can be set to? I'm still getting errors w/ actions on the order of 0.01

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

No branches or pull requests

2 participants