Gazebo | Ignition | Community
Ask Your Question
0

"Lock" model in a position?

asked 2018-10-01 15:29:58 -0600

Mansan gravatar image

updated 2018-10-01 15:30:37 -0600

Hi,

Is there a way to "lock" an element in a position, so you can't move it even if the translation/rotatio option is selected? The heigthmap and ground_plane elements have this behaviour (you can move them once you add them to the simulation), but, is there any property that you can define in the sdf file to make this possible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-02 02:49:45 -0600

Raskkii gravatar image

As far as I know, there is no way to actually prevent the element from moving if you translate/rotate it yourself. There's the static tag which makes the model static when affected by other objects/forces but does not prevent you from moving the model yourself.

I suggest keeping the cursor in select mode at all times (unless of course you need to move something) to avoid accidentally moving your static models.

edit flag offensive delete link more

Comments

I supposed that it wans't possible. This static model act as a heigthmap, so I guess that I need to be careful when I place things on top of it.

Mansan gravatar imageMansan ( 2018-10-03 07:40:53 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-10-01 15:29:58 -0600

Seen: 1,023 times

Last updated: Oct 02 '18