Skip to content

Fix LingBot-Map point-cloud pose convention#8

Merged
iChubai merged 1 commit into
mainfrom
agent/fix-lingbot-map-c2w
Jul 21, 2026
Merged

Fix LingBot-Map point-cloud pose convention#8
iChubai merged 1 commit into
mainfrom
agent/fix-lingbot-map-c2w

Conversation

@iChubai

@iChubai iChubai commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

What changed

Use LingBot-Map's decoded extrinsic directly as the camera-to-world transform in the depth-based point-cloud fallback.

Root cause

LingBot-Map already decodes its pose as C2W, but the fallback inverted that matrix and therefore projected camera-space depth points with the wrong pose convention.

Impact

Fallback point clouds now align with LingBot-Map's upstream streaming implementation and decoded camera trajectory.

Validation

  • Checked both 4x4 and 3x4 C2W inputs with the synthetic SE(3) reproduction from the issue.
  • Both produce [2.280076, -0.5, 3.7143345].
  • Python compilation passed.
  • git diff --check passed.
  • PR diff is one file and one hunk.

Fixes #7

@iChubai
iChubai marked this pull request as ready for review July 21, 2026 21:21
Copilot AI review requested due to automatic review settings July 21, 2026 21:21
@iChubai
iChubai merged commit a8aa4cd into main Jul 21, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the LingBot-Map depth-based point-cloud fallback to use the decoded LingBot-Map extrinsic matrix directly as the camera-to-world (C2W) transform, aligning the fallback output with LingBot-Map’s upstream streaming implementation and expected trajectory convention.

Changes:

  • Removed an incorrect np.linalg.inv() of the decoded pose in the point-cloud fallback path.
  • Simplified the fallback transform application by using the decoded extrinsic directly as C2W.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +174 to +175
camera_to_world = ext_h
pts = pts @ camera_to_world[:3, :3].T + camera_to_world[:3, 3]
@iChubai
iChubai deleted the agent/fix-lingbot-map-c2w branch July 21, 2026 21:27
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.

Potential pose-convention mismatch in LingBot-Map point-cloud fallback

2 participants