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

How can I get rendering and scene update faster? #1425

Open
hojae-io opened this issue Nov 15, 2024 · 1 comment
Open

How can I get rendering and scene update faster? #1425

hojae-io opened this issue Nov 15, 2024 · 1 comment

Comments

@hojae-io
Copy link

hojae-io commented Nov 15, 2024

Hi, I'm looking for a way to increase the rendering and simulation speed.

  1. First, I'm trying to train my policy with sim_dt=0.001 and decimation=10, unlike usual examples where sim_dt=0.005 and decimation=4.
    This cause my training time very slow since the physics stepping loop in manager_based_rl_env.py takes longer time.
    I observed that the main bottleneck is self.scene.write_data_to_sim() and self.scene.update().
    Is there any way that I can make this collection/update time faster?

  2. Also, the self.sim.render() takes 0.01 seconds which indicates that the rendering cannot exceed 100Hz by the render function itself. I think this is too slow. Is there any way that I can reduce this rendering time in exchange of rendering quality? Wondering if there's any solution other than just skipping some frames.

Thanks!

Please refer to the bottom related issues:
#1157
#379

@RandomOakForest
Copy link
Collaborator

Thanks for posting this. While we get a more specific answer, have you tried the Isaac Sim speed-up guidelines here?

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