gazebosim / gz-gui

Builds on top of Qt to provide widgets which are useful when developing robotics applications, such as a 3D view, plots, dashboard, etc, and can be used together in a convenient unified interface.
https://gazebosim.org
Apache License 2.0
78 stars 44 forks source link

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

Open NDevDrone opened 9 months ago

NDevDrone commented 9 months ago

Environment

Description

  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 commented 9 months ago

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

srmainwaring commented 9 months ago

@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 commented 4 months ago

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 commented 4 months ago

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 commented 3 months ago

Sure, you can find the it in the changelog.

NDevDrone commented 3 months ago

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