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

Question: Low level control in RL environments #6

Open
maxspahn opened this issue Apr 29, 2024 · 0 comments
Open

Question: Low level control in RL environments #6

maxspahn opened this issue Apr 29, 2024 · 0 comments

Comments

@maxspahn
Copy link

Hi everyone,

I was so happy to see the first public staff from HF on robotics here, because I am very keen on helping implementing some safety filter for RL policies, that can potentially be used for both training and testing. However, I realized a shortcut that some RL environments in sim do these days: Simply using a equality constraint on the end-effector to simplify the action space, see https://github.com/fyhMer/fowm as well. That however makes the transfer to the real-world difficult as most robots can only be controlled using joint positions or joint velocities. It seems rather unnatural to rely on the physics engine to do the mapping from Cartesian commands to joint space implicitly, rather than relying on an IK solver or an impedence scheme for that, which is also accessible in the real world.

What are your thoughts on this?

<equality>
<weld body1="robot0:mocap2" body2="link7" solimp="0.9 0.95 0.001" solref="0.02 1"></weld>
</equality>

As a counterexample, see https://github.com/google-deepmind/mujoco_menagerie/blob/main/aloha/aloha.xml which uses joint position control.

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

1 participant