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

Use C++ roboclaw library or switch to async python #169

Open
Achllle opened this issue Oct 9, 2023 · 2 comments
Open

Use C++ roboclaw library or switch to async python #169

Achllle opened this issue Oct 9, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Achllle
Copy link
Collaborator

Achllle commented Oct 9, 2023

A lot of time is spent waiting for communication with the roboclaws. Using an async python library to communicate with them or using threading in either language would alleviate this.

@Achllle Achllle added the enhancement New feature or request label Oct 9, 2023
@ericjunkins
Copy link
Collaborator

Sorry maybe I don't fully understand here, how would async or threading improve this? You always only have the ability to communicate to a single device at a time, so you couldn't multi thread that. Can you explain a little more?

@Achllle
Copy link
Collaborator Author

Achllle commented Oct 9, 2023

Async or threading would simply mean that while the code is waiting for a response from the various IO devices, it can go and do other stuff such as respond to a callback or calculate odometry/state information.

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

2 participants