Robotics StackExchange | Archived questions

Selection box not matching visual element

I don't understand why the selection (white box around the element) is bigger than the object itself. The visual and collision z elements are both set to 0.01. How do i make the white box match the collision or visual element of the item?

image description

SDF File: C:\fakepath\box.sdf

This later becomes a problem when trying to align another element to it (the element aligns to the white box)

image description

The problem goes away if I create a copy of this element (Ctrl C, Ctrl V). This is not a good long term solution for me.

Expected behaviour:

image description

Gazebo version: 11.3 Here is a link to a previous question but the accepted answer link is broken. https://answers.gazebosim.org/question/4156/bounding-selection-box-in-gazebo-does-not-overlay-with-visual-links/

Asked by m_tacz on 2021-05-02 12:47:55 UTC

Comments

The answer was archived here https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/709/page/1

Asked by Bromeara on 2021-08-31 20:33:38 UTC

Answers