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

Surface tracker stability improvements #2025

Merged
merged 10 commits into from
Oct 19, 2020
Merged

Surface tracker stability improvements #2025

merged 10 commits into from
Oct 19, 2020

Conversation

papr
Copy link
Contributor

@papr papr commented Oct 9, 2020

papr added 10 commits October 9, 2020 14:26
`previous_cache` is a dict, while `cache` was a list.
Fixes inverted legacy marker detection
Fixes #1806

The issue comes up if the plugins session settings conflict with the previous cache. Preferable behaviour should be:
- If there is no previous cache use the plugin's current settings
- If there is a previous cache
    - if cache is of correct version use cache config
    - if cache is of incorrect version use plugin's current settings
- If user changes plugin settings redetect with plugin's current settings
@papr papr added type: bug plugin: surface_tracker Issues and PRs related to the Surface Tracker plugin labels Oct 9, 2020
@papr papr requested a review from romanroibu October 9, 2020 15:14
@papr papr self-assigned this Oct 9, 2020
Copy link
Contributor Author

@papr papr left a comment

Choose a reason for hiding this comment

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

Known issue: Crash on changing from legacy to apriltag marker detection

@papr
Copy link
Contributor Author

papr commented Oct 12, 2020

Not reproducible. Note from @s-westphal: The detection is not thread-safe. It is possible that I ran into a race condition.

@papr papr marked this pull request as ready for review October 13, 2020 07:50
@papr papr merged commit d4d0fbf into develop Oct 19, 2020
@papr papr deleted the surface_tracker_fixes branch October 19, 2020 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: surface_tracker Issues and PRs related to the Surface Tracker plugin type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants