gz-gui
gz-gui copied to clipboard
Tape Measure - points placed in the Line of Sight of the User Camera
Environment
- OS Version: Ubuntu 22.04
- Binary build gz-garden 7
Description
-
Expected behavior: Measure a distance between two points placed by the user.
-
Actual behavior: When selecting a distance to measure, the points are placed in the line of sight of the user camera. Which mean that the point can be anywhere on this line. For example far behind where the user want to measure or right in front of the camera.
Steps to reproduce
- sudo apt-get install gz-garden
- gz sim
- Select a world (NAO for example)
- Open Tape Measure in the plugins Menu (top right)
- Make a measurement
- Go around the measurement to see where the points are placed
Output
Here I try to measure 2 square in front of NAO
But when I rotate my camera to see around my measurement, we can see that the point "in front of NAO" has an offset.
I think there may need to be a physical object for the mouse click (ray cast) to register a correct point otherwise it returns incorrect result as described.