Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tape Measure - points placed in the Line of Sight of the User Camera #553

Open
NicolasMallent opened this issue Jul 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NicolasMallent
Copy link

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

  1. sudo apt-get install gz-garden
  2. gz sim
  3. Select a world (NAO for example)
  4. Open Tape Measure in the plugins Menu (top right)
  5. Make a measurement
  6. Go around the measurement to see where the points are placed

Output

Here I try to measure 2 square in front of NAO
Tape_Measure_1

But when I rotate my camera to see around my measurement, we can see that the point "in front of NAO" has an offset.
Tape_Measure_2
Tape_Measure_3

@NicolasMallent NicolasMallent added the bug Something isn't working label Jul 6, 2023
@iche033
Copy link
Contributor

iche033 commented Jul 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In progress
Development

No branches or pull requests

2 participants