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

GUI camera doesn't keep manual orientation changes when in Follow entity mode #628

Open
NDevDrone opened this issue Feb 1, 2024 · 6 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@NDevDrone
Copy link

Environment

  • OS Version: Ubuntu 22.04
  • Source or binary build?
    Garden, both source and binary.

Description

  • Expected behavior: Rotating camera in follow mode should change orientation of the tracking camera.
  • Actual behavior: The rotation changes but then returns to the original follow orientation.

Steps to reproduce

  1. Follow entity.
  2. Rotate or pan GUI camera view.
  3. Sit in despair as you watch the camera rotate back to its default, as you can't find a means to lock new camera orientation while following anywhere within the GUI.

Output

N/A

@NDevDrone NDevDrone added the bug Something isn't working label Feb 1, 2024
@NDevDrone
Copy link
Author

@srmainwaring , would you happen to have worked out a solution to this?

@srmainwaring
Copy link
Contributor

@NDevDrone there is a service for the follow camera where you can reposition and reorient the camera: For example:

gz service -s /gui/follow/offset --reqtype gz.msgs.Vector3d --reptype gz.msgs.Boolean --timeout 2000 --req "x: -0.5, y: 0.5, z: 0.5"

The camera controller struggles to keep the image smooth when close to a fast moving vehicle, there is a service for adjusting that as well:

@azeey azeey added the help wanted Extra attention is needed label Feb 26, 2024
@azeey azeey transferred this issue from gazebosim/docs Jul 18, 2024
@azeey
Copy link
Contributor

azeey commented Jul 18, 2024

I've transferred this issue to gz-gui since it's not a documentation issue.

Also, there have been some changes to the camera tracking plugin. Is this still an issue?

@NDevDrone
Copy link
Author

Hi @azeey , sorry I haven't been up to speed on developments of the camera tracking plugin. Would you mind sharing where they are reported ? Great news if so!

@azeey
Copy link
Contributor

azeey commented Jul 22, 2024

Sure, you can find the it in the changelog.

@azeey azeey self-assigned this Jul 22, 2024
@azeey azeey moved this from Inbox to In progress in Core development Jul 22, 2024
@NDevDrone
Copy link
Author

Thanks azeey, that's pretty great to see. Looking forward to trying it out.

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

No branches or pull requests

3 participants