Open nickswalker opened 2 years ago
So I agree that we should use simplified geometries (and will send a PR for that), the bottleneck here is realsense rather than the meshes. I am going to open a PR to make realsense closed by default, so far I have been %99 real time always with realsense closed vs %40 real time with realsense.
Fixed in our fork: Visual Collision
I've noticed that I have to run quite small stepsizes to get reasonable behavior from the simulator (see #40) and end up getting about half realtime performance. One part of the simulation that jumps out for possible performance optimization is the collision geometry. Currently, the URDF reuses the display meshes for collision bounds:
https://github.com/hello-robot/stretch_ros/blob/203726e1911fffcc833bec05048658885668a5e2/stretch_description/urdf/stretch_main.xacro#L39-L47
These should use simplified meshes or primitives where possible.