Gazebo | Ignition | Community
Ask Your Question

Modify box dimensions numerically

asked 2020-03-30 09:23:34 -0500

ramonvp gravatar image

Hi all, this might be a very silly question, but I can't figure out how to set the dimensions of a box numerically. The only apparent way that Gazebo allows to modify the box's dimensions is by scaling the object and dragging the axis with the mouse. The link->visual->geometry->size properties on the left side table are disabled and can't be modified by hand. What I'm doing now is opening the Model Editor and saving each item separately in individual models. But this is a lot of manual work, it shouldn't be the only way.

I am using Ubuntu 18 with Gazebo 9.0.



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-30 11:41:14 -0500

chapulina gravatar image

Another way is to load a world which already has the shapes with the sizes you want. Here's a tutorial introducing SDF models. You can put those <model> tags directly into a <world> tag.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-03-30 09:23:34 -0500

Seen: 317 times

Last updated: Mar 30 '20