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] Is correct understanding of sim.dt and decimation in policy learning? #1532

Open
xinyu-66 opened this issue Dec 12, 2024 · 1 comment

Comments

@xinyu-66
Copy link

Question

Hi, I am trying the sim2real, but the obtained trajectory is too quick with only 100 points, I want it to be more around 2000 points. So if I need to make the sim.dt, physics step to be 1/240 second and decimation to be 8.

Therefore, if it means, the policy will only collect the observation and output action in policy step: 8 * 1/240 = 1/30 second. But the rendering and simulate time step stay at 1/240 second and I can collect more points.

@KyleM73
Copy link
Contributor

KyleM73 commented Dec 12, 2024

Typically you will want the rendering to happen at the policy update frequency, ie sim.render_interval = sim.dt * decimation. Otherwise your understanding is correct.

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

2 participants