Home | Tutorials | Wiki | Issues
Ask Your Question
0

Mesh optimization for "fast" simulation

asked 2018-07-25 15:55:12 -0600

vonunwerth gravatar image

Hi, i created a robot model with some links. All links are meshes, like the UR10 from Universal Robotics has its shoulder_link, elbow_link and so on. For example the simulation for the UR-10 uses the meshes as collision elements. How much would it improve the speed of our simulation to improve the meshes (ex the base from 300 faces to 50 faces). Is there a rule for a good number of faces for collision meshes or is it mostly better to use simple shapes? What is the most common way for collision objects in Gazebos simulations? What are "good" meshes? And how would it improve the simulation to improve all meshes (to let me say 50% of all faces as example) Is the number of faces of the visual mesh influencing the simulation-performance? Best regards Max

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-25 17:11:15 -0600

updated 2018-07-25 17:11:57 -0600

Partial answer here. My impression is that the number of contacts, not mesh geometry, is one of the largest bottlenecks in simulation.

It may be worth your time to experiment with different maxContacts values in your *.urdf/xacro, e.g:

<gazebo reference="LINK_NAME" >
  <maxContacts="NUMBER_OF_CONTACTS"/>
</gazebo>
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-07-25 15:53:09 -0600

Seen: 63 times

Last updated: Jul 25