Fix FrameView/FrameAligned Controller to track orientation of the frame#1653
Open
jowaibel wants to merge 1 commit intoros2:rollingfrom
Open
Fix FrameView/FrameAligned Controller to track orientation of the frame#1653jowaibel wants to merge 1 commit intoros2:rollingfrom
jowaibel wants to merge 1 commit intoros2:rollingfrom
Conversation
… via "inverted z axis"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
I have recovered this feature from the ROS1 implementation. Camera now rotates with the (moving) frame).
I have also fixed the "Invert Z Axis" feature for the frame-aligned view.
Fixes #1320
Is this user-facing behavior change?
The camera stays aligned with the active frame.
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.