Replies: 1 comment 2 replies
-
Hi and thanks for the feedback! Yes, asyncio is on the radar :-) We have been, and are currently discussing the library, the API and what we want to do with it in the future. Pretty much everything is up in the air at the moment and we are hoping that it will come back down and hopefully fall into place. We are trying to rethink the full communication stack and the API is part of this work. In my opinion it makes sense to use the most standardized mechanism in a language to express functionality in the API, and like you mention, for python asyncio is the way to describe multitasking. Any feedback is welcome, don't hesitate if you have other input. |
Beta Was this translation helpful? Give feedback.
-
I may be preaching to the converted, but can I put in a vote for rethinking the crazyflie multitasking approach as you move to the Crazyradio 2.0? Callbacks are pretty outmoded, and starting with Python 3.9, the Python team has really been encouraging the use of asyncio for multitasking instead.
This library is a pretty good start at porting the Crazyflie SDK to asyncio, but is incomplete and the C++ CR drivers are a PIA: https://github.com/skybrush-io/aiocflib
What do you think about moving to asyncio for Crazyflie SDK 2.0?
Beta Was this translation helpful? Give feedback.
All reactions