-
Notifications
You must be signed in to change notification settings - Fork 357
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] Frequency #52
Comments
Hi @CoolCoder54323, argument
|
So shouldn't the simulation slow down if you set freq to 1 |
No, setting The idea is to run simulations faster than real-time, to collect more data, you can check PyBullet documentation for using it as a gaming engine, with (best effort) real-time stepping, but this is not the goal in this repo. In general, |
What I was trying to do is make each action of the AI last longer in the simulation. So if I'm understanding this correctly I would do that using |
What I’d say you are doing is to make the control frequency coarser than the physics engine stepping frequency, and yes, that is done with aggregate_physics_steps E.g. if PyBullet freq is 240Hz, with aggregate_physics_steps set to 5 means controlling the quadrotor at 48Hz |
What does the freq parameter do because when I set it from 240 to 1 it makes no difference in the amount of time it takes to complete a step. Also in what scenario would you want to change aggregate_phy_steps from 1?
The text was updated successfully, but these errors were encountered: