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

Added velocity damping to pusher, fixes #477 #509

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AwesomeLemon
Copy link

As described in #477, currently there is no friction-like force in the pusher environment with the spring backend. This means that even a slight touch of the object by the robot leads to the object infinitely sliding off into the distance.

Per suggestion of @btaba in that issue, I added velocity damping, which solved the problem.

Note that I had to set its value to -1, despite it being set to either 0 or 1 in the Brax codebase. Looking at the integrator.py code shows that having vel_damping > 0 leads to anti-damping, as xd_i.vel is multiplied by exp(positive number) > 1.

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.

1 participant