JenniferBuehler / gazebo-pkgs

A collection of tools and plugins for Gazebo
BSD 3-Clause "New" or "Revised" License
202 stars 105 forks source link

<disable_collisions_on_attach>true</disable_collisions_on_attach>, Where does changing this parameter affect the <self_collide> #63

Open Liyiyang66 opened 10 months ago

Liyiyang66 commented 10 months ago

i set like this,true, to eliminate the jitter between the gripper and the object, but after the object will cross the table. After successfully gripping an object, is there any way to eliminate the collision between the gripper and the object without affecting the collision between the object and the table? image

JenniferBuehler commented 10 months ago

Disabling self collisions, see #62, was not enough to prevent the wobbling?

Liyiyang66 commented 9 months ago

oh, sorry, there is still some small wobbling of finger_tip_link after gripper attached the object. So, i set the true of the to prevent the wobbling, then there is no wobbling of finger_tip_link. However, perhaps because this reason, the self-collision of objects is eliminatedt, and the collision between the object and the table cannot be detected. i want to eliminate the collision between the gripper and the object after the gripper successfully grasps the object,by this way, i can prevent the small wobbling of finger_tip_link. But i wish to preserve the collision of the object and the table, because i want to collect the force data.

JenniferBuehler commented 9 months ago

That is two separate things. <disable_collision_on_attach> completely disables the collisions of that link, while the <self_collide> flag prevents links of the same model to collide with each other (but they can still collide with other objects which are not part of the same model).

Ideally, the self collision should be disabled (set to 0) so that once the link becomes part of the model (on attach), there are no strange wobble effects. The <disable_collisions_on_attach> should be false, otherwise the object will not collide with the table.

Liyiyang66 commented 9 months ago

oh, i think i got it, thanks for your advice. i will have a try.