Closed marc-wittwer closed 2 years ago
It is difficult to tell quantitatively, but the performance is expected to drop when such a large number of objects is added. No idea how large impact your VM has.
I think you might be looking for this:
Also, this issue is not related to this repository. Module pymoveit2
provides only interface to MoveIt 2 functionalities. Whatever MoveIt 2 / RViz 2 / ... does is out of the scope for this repository. Other place would be more suitable for this discussion.
Thanks for your reply.
I tried to add a 3D occupancy map of the robots surroundings using the
add_collision_mesh
functionality.I discretized the robots workspace into 5cm cubes which I can toggle.
However the performance is really low in RViz with a framerate of 0/1/2 fps.
With multiple cubes that represent the ground floor: 2fps
A single mesh to represent the ground floor: 31 fps
Performance test with multiple cubes: 0 fps
Is this expected behaviour? Are collision meshes not meant to be uesd for collision detection?
Is this performance due to using a VM?
My 5cm cube: 5cm_blender_cube.zip