# Isaac Simulator) Physics settings (min simulation frame rate) & physics\_scene (time steps per second)

**URL:** <https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100>\
**Category:** Isaac Sim\
**Tags:** python, ubuntu, physics, camera\
**Created:** [August 23, 2023, 2:42pm UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100 "2023-08-23T14:42:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![phr0201](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@phr0201](https://forums.developer.nvidia.com/u/phr0201)\
**Post date:** [August 23, 2023, 2:42pm UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/1 "2023-08-23T14:42:59Z")

</div>

Hi, I’m trying to publish the imu data using omnigraph in Isaac Simulator.

So, I handled the parameters like below figure.

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/6/a/5/6a571aafceacd0a2eb9bf7d5686230ff6b5f2bd9.png)

- Physics Settings : Min Simulation Frame Rate (240)
- PhysicsScene : Time Steps Per Second (240)

After that, I can publish the imu sensor data to 240 hz. But Like below video, the robot vibrates too much when it stop especially.

[https://global.discourse-cdn.com/nvidia/original/4X/5/9/2/592b32cb1186be71171b6df7a3f278eccf96bd3b.mp4](https://global.discourse-cdn.com/nvidia/original/4X/5/9/2/592b32cb1186be71171b6df7a3f278eccf96bd3b.mp4)

Is there any solution to fix this vibration problem?  
Please help me!

---

<div class="post-metadata">

**Author:** ![phr0201](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@phr0201](https://forums.developer.nvidia.com/u/phr0201)\
**Post date:** [August 23, 2023, 4:03pm UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/2 "2023-08-23T16:03:47Z")

</div>

@AlesBorovicka I’m really sorry for tagging you… But I eagly want to solve this problem… for our work. So Would you give me some advice for this problem?

Is there any solution to solve this problem?  
Thank you so much… :)

---

<div class="post-metadata">

**Author:** ![AlesBorovicka](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/alesborovicka/32/21824_2.png) [@AlesBorovicka](https://forums.developer.nvidia.com/u/AlesBorovicka)\
**Post date:** [August 24, 2023, 8:36am UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/3 "2023-08-24T08:36:45Z")

</div>

Hi,  
No worries, I am here to help :-)  
What robot are you using? I tried to repro with Kaya robot, but I did not see this problem.  
So with the settings - min frame rate 240 and time steps per seconds 240 PhysX is doing one simulation step at this frequency. However the rest of the update loop is still running at the variable step.  
The problem might be caused by two issues:

1. PhysX is having a problem to simulate at this frequency, you can try to change the values to 60 to see if the problem persists. One can also play with GPU vs CPU simulation or TGS vs PGS solver toggles. If you open Window-\>Simulation-\>Debug you can override the settings there for quick testing
2. Something else is touching the camera transformation at a different rate, you can try in the rendering settings set the fixed rate to 240 and enforce the fixed rate.

What robot are you using? I can try to repro this issue and see what can be done. Sorry for the trouble.  
Regards,  
Ales

---

<div class="post-metadata">

**Author:** ![phr0201](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@phr0201](https://forums.developer.nvidia.com/u/phr0201)\
**Post date:** [August 24, 2023, 8:45am UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/4 "2023-08-24T08:45:10Z")

</div>

Thank you so much for reply me!

Now, I use the **carter\_v1** ( two wheel model ) like below figure.  
 ![image](https://global.discourse-cdn.com/nvidia/original/4X/0/9/4/09484990e2d0d28af0fc0ce637bca3d3967542b8.png)

In my case, I **handled the above two parameters. to 240** in the multi-robot hospital example scene. In that case, when the simulation starts, the robot **vibrates a lot** even though the robot stopped. And also when i use the “teleop\_twist\_keyboard” method to navigate the robot and use the “j”/“l” buttons, also the robot vibrates alot while it rotating left/right.

And when i set the above two parameters to ~ 90, **the robot does not vibrate**. But over 90, the robot starts to vibrate a lot. But because I’m trying to publish the imu sensor data to over 200hz, so i couldn’t decrease both parameter to under 200… T…T

Thank you so much!

---

<div class="post-metadata">

**Author:** ![AlesBorovicka](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/alesborovicka/32/21824_2.png) [@AlesBorovicka](https://forums.developer.nvidia.com/u/AlesBorovicka)\
**Post date:** [August 24, 2023, 10:26am UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/5 "2023-08-24T10:26:05Z")

</div>

Thanks I was able to reproduce the issue. It looks like to be related to cylinders being simulated as custom geometry. Please change the behavior of the cylinders to use convex approximation instead, this can be done in the physics settings:

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/3/e/c/3ec86d04e976652017bc89e2a4ffc130495a6631.png)

Please give it a shot, this seems to now simulate correctly to me.

Hope that helps.  
Ales

---

<div class="post-metadata">

**Author:** ![phr0201](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@phr0201](https://forums.developer.nvidia.com/u/phr0201)\
**Post date:** [August 24, 2023, 11:42am UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/6 "2023-08-24T11:42:25Z")

</div>

That method solved this problem!!

I uncheck the “Cylinders As Custom Geometry” in Collision, and then the robots does not vibrate!

Thank you so much… :)

And then I want to ask you what is the purpose of that function?  
When do we have to use that function (cylinders as custom geometry) ?

---

<div class="post-metadata">

**Author:** ![AlesBorovicka](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/alesborovicka/32/21824_2.png) [@AlesBorovicka](https://forums.developer.nvidia.com/u/AlesBorovicka)\
**Post date:** [August 24, 2023, 1:07pm UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/7 "2023-08-24T13:07:26Z")

</div>

So a custom cylinder is simulated differently the a convex approximation. There are situations where the cylinder behavior is better because its not just approximated.  
To illustrate the different behavior I would recommend you to check our Custom Cylinder demo, see Window-\>Simulation-\>demos then custom cylinder demo.  
The custom cylinder contacts are computed based on a combination of capsule and box collisions and produce expected behavior on the edges, it rolls nicely. But its a CPU only feature for now and seems like to still have some side effects. I did created internal ticket for the PhysX SDK team to investigate further.  
Regards,  
Ales

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [September 7, 2023, 1:08pm UTC](https://forums.developer.nvidia.com/t/isaac-simulator-physics-settings-min-simulation-frame-rate-physics-scene-time-steps-per-second/264100/8 "2023-09-07T13:08:07Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
