Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old markers persist in detection3DArray marker view. #4

Open
MyronRodrigues-StreetDrone opened this issue Mar 6, 2023 · 1 comment

Comments

@MyronRodrigues-StreetDrone

Thanks for this plugin.

Tested this out on a node and the detection visualisations work fine with edges only view, however on the marker view I get boxes that persist for quite some time, I'm guessing these are with ID's that don't get replaced with the same ID. Since these are detections and if users try to set the ID to the class of detections I think the old markers need to me cleared before publishing new ones? I'd written a node previously for this issue: it would publish a remove marker before any other markers.

I've tried adding

m_marker_common->clearMarkers();
// also
m_marker_common->deleteAllMarkers();

below but doesn't seem to help.

@NovoG93
Copy link
Owner

NovoG93 commented Mar 6, 2023

Thanks for pointing this out, I will look into it when I find time.
Could you maybe provide me a rosbag where this happens?

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

No branches or pull requests

2 participants