Gazebo | Ignition | Community
Ask Your Question
0

Make object static for grasping

asked 2019-10-11 15:11:39 -0500

el_cangrejo gravatar image

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?

edit retag flag offensive close merge delete

Comments

Have you achieved the similar effect on Gazebo?

kidpaul94 gravatar imagekidpaul94 ( 2023-03-06 13:02:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-03-14 14:48:55 -0500

kidpaul94 gravatar image

updated 2023-03-14 14:49:30 -0500

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-fa...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2019-10-11 15:11:39 -0500

Seen: 125 times

Last updated: Mar 14