Skip to content

Use a homogeneous basis change for 4×4 pose matrices - #10188

Merged
Blyron merged 3 commits into
carla-simulator:ue58-devfrom
Afloat16:Afloat16/homogeneous-frame-change
Nov 9, 2026
Merged

Blyron merged 3 commits into
carla-simulator:ue58-devfrom
Afloat16:Afloat16/homogeneous-frame-change

Conversation

@Afloat16

@Afloat16 Afloat16 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Description

The documented mirror has shape 3×3, so multiplying it with get_matrix() fails for homogeneous poses. Give the 4×4 basis change explicitly, including its effect on translation.

Where has this been tested?

Linux, CPython 3.13.17. Documentation for the Unreal Engine 5.8 branch at fe0178f. No simulator was needed for the documentation checks.

Tests

Applied the displayed change of basis to a nonidentity rotation and translation. Checked transformed points and the round trip with NumPy. Ran the full documentation build with python -m mkdocs build --strict and checked the generated page.

CI workflows

None.

Possible Drawbacks

The change is confined to the documentation and its example.


This change is Reviewable

@Afloat16
Afloat16 requested a review from a team as a code owner November 6, 2026 19:13
@update-docs

update-docs Bot commented Nov 6, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update our CHANGELOG.md based on your changes.

Retain the existing documentation patch and the depth-precision entry from carla-simulator#10189. Place the two changelog entries at separate section anchors so they merge independently.
@Blyron
Blyron merged commit 25aaca9 into carla-simulator:ue58-dev Nov 9, 2026
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.

2 participants