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

[Enhancement] Create a thread-safe handler for obstacle data #337

Open
Kai-Shafe opened this issue Oct 22, 2024 · 0 comments
Open

[Enhancement] Create a thread-safe handler for obstacle data #337

Kai-Shafe opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels
3-Star Indicates a moderate level of difficulty, requiring a good understanding of the topic or task. enhancement Requests for new features or improvements to existing features.

Comments

@Kai-Shafe
Copy link
Contributor

Why Is This Enhancement Needed?

To keep the codebase performant, we want to pass references to obstacles instead of copying obstacle data into different areas of the codebase (research the active object design pattern). We run detections from images coming from the camera using multiple threads, so this also needs to receive and update objects in a thread safe manner.

Proposed Solution

See src/handlers/TagDetectionHandler.h and src/handlers/TagDetectionHandler.cpp for an example implementation.

Additional Context

No response

@Kai-Shafe Kai-Shafe added enhancement Requests for new features or improvements to existing features. 3-Star Indicates a moderate level of difficulty, requiring a good understanding of the topic or task. labels Oct 22, 2024
@Kai-Shafe Kai-Shafe moved this to Backlog in URC 2025 - Autonomy Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3-Star Indicates a moderate level of difficulty, requiring a good understanding of the topic or task. enhancement Requests for new features or improvements to existing features.
Projects
Status: Ready
Development

No branches or pull requests

4 participants