Skip to content

Conversation

@luca-della-vedova
Copy link
Contributor

@luca-della-vedova luca-della-vedova commented Nov 19, 2025

In the current state of flowstate_ros_bridge, we have a check that skips publishing markers if another marker with the same glb mesh is found..
This doesn't play well with cases where we do actually have multiple instances of the same mesh, where the first instance will be published but all the others will be silently skipped.

This PR changes the behavior to allow multiple copies of the same mesh, while making sure we cache gltf data so we don't do unnecessary work to fetch the same gltf multiple times for multiple instances of the same mesh.

Signed-off-by: Luca Della Vedova <[email protected]>
Signed-off-by: Luca Della Vedova <[email protected]>
Signed-off-by: Luca Della Vedova <[email protected]>
@luca-della-vedova luca-della-vedova marked this pull request as ready for review November 20, 2025 04:27
@Yadunund Yadunund self-requested a review November 27, 2025 00:48
Copy link
Contributor

@Yadunund Yadunund left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix.

@Yadunund Yadunund merged commit 1262119 into main Dec 3, 2025
4 of 7 checks passed
@Yadunund Yadunund deleted the luca/duplicate_meshes_bridge branch December 3, 2025 23:22
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.

3 participants