Ask Your Question
1

How to make a robot immovable in Gazebo

asked 2012-06-29 05:17:08 -0500

Nan Jiang gravatar image

Hi all,

I want to fix a robot (to be specific, pr2) to a specific location in gazebo. It is going to use its arm to touch and press some other objects in the environment, but its body should not be moved by the counter force. Resetting its location frequently may be a possible solution, but I am afraid that its arm and the objects in the environment may overlap in space and bounce away.

So I want to know if there is a way to disable movement of the robot in gazebo. Thanks.

Best, Nan

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-07-12 14:56:04 -0500

dearl gravatar image

updated 2012-07-12 15:00:16 -0500

If you don't want the robot to move at all, I believe that in your urdf adding the entry <link name="world"/> and create a fixed joint between world and your robot will do what you want.

edit flag offensive delete link more

Comments

I am trying to fix the robot

<joint type="fixed" name="fixed_joint"> <parent>world</parent> <child>base_link</child> </joint>

but it doesn't work in sdf

sapan gravatar image sapan  ( 2018-07-21 16:48:56 -0500 )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

Stats

Asked: 2012-06-29 05:17:08 -0500

Seen: 1,269 times

Last updated: Jul 12 '12