-
Notifications
You must be signed in to change notification settings - Fork 392
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
Ctrl Freq and Simulation Freq Questions #202
Comments
The default sim/PyBullet frequency is 240Hz, the control frequencies in the examples are between 30 and 240Hz. |
Hi, Is it possible to set a lower control frequency, such as 2 Hz? I am currently working on an imitation learning task and need to collect demonstrations from users using the repository firstly. In my mind, I want to map some keys on the keyboard to discrete velocity values and user can choose one of them to press to change to drone's fly state. Considering the response time of humans, I believe setting the control frequency to 2 Hz is reasonable. However, when I arbitrarily changed the value of DEFAULT_CONTROL_FREQ_HZ to 2 and ran pid_velocity.py, all drones fell to the ground. I look forward to your reply. Thank you. |
In principle you can (only updating the velocity set points at a more corse rate) but I see a couple of potential pitfalls
|
@JacopoPan in a previous issue thread you said:
A lot of the default values are set at 30. Is this 30 in hertz? Also is sim frequency in hertz?
To your knowledge is there a case were you would want ctrl_freq > sim_freq?
The text was updated successfully, but these errors were encountered: