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

Camera Node Multithreading #8

Open
nlitz88 opened this issue Aug 28, 2024 · 0 comments
Open

Camera Node Multithreading #8

nlitz88 opened this issue Aug 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nlitz88
Copy link
Collaborator

nlitz88 commented Aug 28, 2024

Right now, there is no thread-level parallelism in the camera node. This means that all HTTP requests being made are happening sequentially (unless there is some python async magic happening already that I am not aware of).

What tipped me off to this was adding the timer and publisher for the map images (in addition to the front and rear camera images). When adding the map images, the latency for all the topics gets dragged down to 2 Hz from about 8 Hz.

https://answers.ros.org/question/401066/ros2-how-to-do-multi-threading-subscription-callbacks-spinning-executors/

@nlitz88 nlitz88 self-assigned this Aug 28, 2024
@nlitz88 nlitz88 added the enhancement New feature or request label Sep 23, 2024
@nlitz88 nlitz88 removed their assignment Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant