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

Ctrl Freq and Simulation Freq Questions #202

Open
zcase opened this issue Apr 9, 2024 · 1 comment
Open

Ctrl Freq and Simulation Freq Questions #202

zcase opened this issue Apr 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@zcase
Copy link

zcase commented Apr 9, 2024

@JacopoPan in a previous issue thread you said:

Ctrl freq is both the frequency at which observations are produced and actions are taken by the environment.
(Sim freq is the frequency at which the PyBullet step is called, normally greater than ctrl freq).

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?

@JacopoPan JacopoPan added the question Further information is requested label Apr 10, 2024
@JacopoPan
Copy link
Member

The default sim/PyBullet frequency is 240Hz, the control frequencies in the examples are between 30 and 240Hz.
For low-level control, one might want to increase both for better numerical accuracy but making the control frequency greater than the simulation frequency will result in inputs/controls/actions being computed more often than the simulation state is updated which is unlikely to be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants