Robotics StackExchange | Archived questions

Make object static for grasping

Hello, I'm trying to do something similar to this

image description

I tried cancelling the gravity of the object before trying to grasp but it starts floating. When I make it static and grasp when I activate the gravity doesn't work as it is not dynamic and I cannot do it in runtime. Any suggestions on how I could achieve a similar effect?

Asked by el_cangrejo on 2019-10-11 15:11:39 UTC

Comments

Have you achieved the similar effect on Gazebo?

Asked by kidpaul94 on 2023-03-06 14:02:21 UTC

Answers

I know that this is a bit old, but I'll try to answer the question.

I was able to achieve the similar effect by disabling the gravity effect in a .sdf file of an object that I spawn.

<?xml version='1.0'?>
  <sdf version='1.7'>
    <model name='obj_05'>
      <link name='object'>
        <gravity>0</gravity>
      </link>
    </model>
  </sdf>

Whoever needs to do the similar thing can refer my repository: https://github.com/kidpaul94/grasp-factory

Asked by kidpaul94 on 2023-03-14 14:48:55 UTC

Comments