Skip to content

Fix FrameView/FrameAligned Controller to track orientation of the frame#1653

Open
jowaibel wants to merge 1 commit intoros2:rollingfrom
jowaibel:fix-frameview
Open

Fix FrameView/FrameAligned Controller to track orientation of the frame#1653
jowaibel wants to merge 1 commit intoros2:rollingfrom
jowaibel:fix-frameview

Conversation

@jowaibel
Copy link

The backported camera in pull request #1453 did not implement the name-giving feature of the frame-aligned camera, to remain aligned with the frame as it rotates.

  1. I have recovered this feature from the ROS1 implementation. Camera now rotates with the (moving) frame).

  2. I have also fixed the "Invert Z Axis" feature for the frame-aligned view.

Fixes #1320

Is this user-facing behavior change?

  1. The camera stays aligned with the active frame.

  2. The "Invert Z Axis" property does technically not flip the Z axis, but always the vertical axis seen from the aligned camera view to the active axis. I.e.,
    if +x/-x axis is selected, the z axis is flipped (rotation by 180deg about the x axis).
    if +y/-y axis is selected, the z axis is flipped (rotation by 180deg about the y axis).
    if +z/-z axis is selected, the x axis is flipped (rotation by 180deg about the z axis).

Did you use Generative AI?

No AI used.

Additional Information

Note that, on my ROS Humble, the "Invert Z Axis" property is shown in FPS View, even if it is hidden here. I don't know why.

I have therefore used the "show()" method in the child class FrameAligned/FrameView.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request FrameAligned view, as in ROS1

1 participant