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 inconsistent test results #388

Merged
merged 4 commits into from
Oct 27, 2023
Merged

Fix inconsistent test results #388

merged 4 commits into from
Oct 27, 2023

Conversation

varunagrawal
Copy link
Collaborator

Fixes #233.

The issue was that Statics::solve was calling initialValues(slice, robot) with a default gaussian noise parameter of 0.1. This is neither a functional style and is machine dependent due to the PRNG.

I added gaussian_noise as an extra parameter, and set all the gaussian_noise defaults to be a more sensible 0.0. The user is free to update them if desired.

@varunagrawal varunagrawal requested a review from gchenfc October 19, 2023 11:17
@varunagrawal varunagrawal self-assigned this Oct 19, 2023
@varunagrawal
Copy link
Collaborator Author

@gchenfc gentle reminder

Copy link
Member

@gchenfc gchenfc left a comment

Choose a reason for hiding this comment

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

nice

@varunagrawal varunagrawal merged commit 028ed5a into master Oct 27, 2023
@varunagrawal varunagrawal deleted the fix-233 branch October 27, 2023 22:43
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.

Test for Quadruped Torque gives different values on differents OSes
2 participants