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

Non-deterministic outcomes in forward simulation. #8

Open
pangtao22 opened this issue Dec 24, 2021 · 0 comments
Open

Non-deterministic outcomes in forward simulation. #8

pangtao22 opened this issue Dec 24, 2021 · 0 comments

Comments

@pangtao22
Copy link
Owner

When comparing the gradients of the quasistatic dynamics using the python and cpp implementations, the tight tolerance can be satisfied about 9 out of 10 times. When the tolerance is not satisfied, the forward simulation results are also slightly off.

The current "solution" is to use a larger tolerance such as 1e-7, which shouldn't affect downstream tasks such as trajectory optimization. But if I really want to get to the bottom of this, I suspect the non-deterministic behavior is a result of drake's MathematicalProgram.

JoseBarreiros-TRI added a commit to JoseBarreiros-TRI/quasistatic_simulator that referenced this issue Feb 1, 2023
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