Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Convert the visual mesh component to use rays instead of pixel coordinates for UVs#267

Draft
TrentHouliston wants to merge 2 commits intomasterfrom
houliston/vmrays
Draft

Convert the visual mesh component to use rays instead of pixel coordinates for UVs#267
TrentHouliston wants to merge 2 commits intomasterfrom
houliston/vmrays

Conversation

@TrentHouliston
Copy link
Member

@TrentHouliston TrentHouliston commented Jun 20, 2019

This branch changes how the visual mesh is drawn on images and in the VisualMesh view.
Previously the visual mesh on the robot calculated pixel coordinates that were used to draw on the image.
However, when the rotation of the image changed the visual mesh/image would get out of sync since the visual mesh was using old pixel coordinates.
This change makes the visual mesh instead of send unit vectors in global space. These can then be projected onto the image directly which using the images Hcw matrix will track each other as they move.

@BrendanAnnable
Copy link
Member

No description provided.

Can you provide a description? 😛 I have no idea what this does

@TrentHouliston TrentHouliston changed the title Convert the visual mesh to use rays instead of pixel coordinates so they can track Convert the visual mesh component to use rays instead of pixel coordinates for UVs Jul 5, 2019
@BrendanAnnable BrendanAnnable temporarily deployed to nusight-pr-267 July 5, 2019 01:24 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants