Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Physics parameters for a rolling ball

Hey there,

I try to simulate a ball balancing on a plate. Now my problem is that for small plate angles <1° the ball is sliding (not rolling) alongside the plate. Any ideas how to set the gazeo urdf physics paramters to avoid sliding and always force the ball to roll directly and very sensitive?

Here is what I have:

<gazebo reference="ball_link">
   <gravity>1</gravity>
   <maxVEl>1000</maxVel>
   <mu1>0.005</mu1>
   <mu2>0.005</mu2>
   <fdir1>0 0 0</fdir1>
   <kp>1e+20</kp>
   <kd>1.0</kd>
   <maxContacts>1</maxContacts>
</gazebo>

Well setting maxContacts to only 1 was quite helpfull. But still my ball is sliding and not rolling....

1) Should I increase the mu1,mu2 to achieve that?

2) My plate should have the same mu1 and mu2 right?

3) Is fdir1 = 0 0 0 correct?

Physics parameters for a rolling ball

Hey there,

I try to simulate a ball balancing on a plate. Now my problem is that for small plate angles <1° the ball is sliding (not rolling) alongside the plate. Any ideas how to set the gazeo urdf physics paramters to avoid sliding and always force the ball to roll directly and very sensitive?

Here is what I have:

<gazebo reference="ball_link">
   <gravity>1</gravity>
   <maxVEl>1000</maxVel>
   <mu1>0.005</mu1>
   <mu2>0.005</mu2>
   <fdir1>0 0 0</fdir1>
   <kp>1e+20</kp>
   <kd>1.0</kd>
   <maxContacts>1</maxContacts>
</gazebo>

Well setting maxContacts to only 1 was quite helpfull. But still my ball is sliding and not rolling....

1) Should I increase the mu1,mu2 to achieve that?

2) My plate should have the same mu1 and mu2 right?

3) Is fdir1 = 0 0 0 correct?

4) Can I set physics parameters during the gazebo simulation (like the mu1, mu2 parameters)

Physics parameters for a rolling ball

Hey there,

I try to simulate a ball balancing on a plate. Now my problem is that for small plate angles <1° the ball is sliding (not rolling) alongside the plate. Any ideas how to set the gazeo urdf physics paramters to avoid sliding and always force the ball to roll directly and very sensitive?

Here is what I have:

<gazebo reference="ball_link">
   <gravity>1</gravity>
   <maxVEl>1000</maxVel>
   <mu1>0.005</mu1>
   <mu2>0.005</mu2>
   <fdir1>0 0 0</fdir1>
   <kp>1e+20</kp>
   <kd>1.0</kd>
   <maxContacts>1</maxContacts>
</gazebo>

Well setting maxContacts to only 1 was quite helpfull. But still my ball is sliding and not rolling....

1) Should I increase the mu1,mu2 to achieve that?

2) My plate should have the same mu1 and mu2 right?

3) Is fdir1 = 0 0 0 correct?

4) Can I set physics parameters during the gazebo simulation (like the mu1, mu2 parameters)

5) I tried to set the mu1 and mu2 high(100) and also the maxContacts to 100 but still the ball is sliding on the plate and not holding still..... -> maybe I need more weight?