Ask Your Question
0

group.move() weird pose of detached object

asked 2015-06-14 16:09:50 -0600

TkrA gravatar image

updated 2015-06-15 04:49:09 -0600

dornhege gravatar image

Hi!

I am currently working on a pick and place application, using move_group interface. After bringing the gripper around the collision object, i attach it to the end effector:

group.attachObject(collision_object.id);

Then picking it another place, i detach it:

group.detachObject(collision_object.id);

When i detach it, the box stays with one edge on the groud, one in the air. How could i fix this? Please help me, Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-15 02:32:08 -0600

Simon Schmeisser gravatar image

the box stays exactly where you put it, ie there is no physics simulation in rviz. If you need that, have a look at gazebo

edit flag offensive delete link more

Comments

1

there is no physics simulation in rviz

I'd put it even stronger: RViz is not a simulator. It's purely visualisation.

gvdhoorn gravatar imagegvdhoorn ( 2015-06-15 02:56:27 -0600 )edit
1

To be even more clear: Detach in moveit only states: "When the manipulator moves again the object won't be moved with it", attach is the opposite. Objects never move on their own.

dornhege gravatar imagedornhege ( 2015-06-15 03:42:38 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-06-14 16:09:50 -0600

Seen: 86 times

Last updated: Jun 15 '15