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

Force state rand vec updates to update the sim #328

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

avnishn
Copy link
Contributor

@avnishn avnishn commented Feb 25, 2021

In some environments, the locations of objects are updated
via changes to the underlying simulator.

Those changes don't reflect in the simulator until the simulator
itself has been stepped (a call to sim.step()).

This commit forces sim.step when state rand vecs are changed by calling
reset inside set_task.

closes #324

In some environments, the locations of objects are updated
via changes to the underlying simulator.

Those changes don't reflect in the simulator until the simulator
itself has been stepped (a call to sim.step()).

This commit forces sim.step when state rand vecs are changed by calling
reset inside set_task.

closes #324
@haydenshively
Copy link
Contributor

This is beautiful

@avnishn
Copy link
Contributor Author

avnishn commented Feb 26, 2021

you've made me blush @haydenshively

@avnishn avnishn merged commit d9a75c4 into master Feb 26, 2021
@pseudo-rnd-thoughts pseudo-rnd-thoughts deleted the force_state_rand_vecs_update_sim branch June 16, 2023 09:19
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.

Inconsistent initialization of object positions
3 participants