Page 1 of 1

Bidirectional communication between the AI-deck and Crazyflie by UART

Posted: Fri Jan 14, 2022 2:45 am
by raven
Hello, everyone~

Recently, I want to upload some data from Crazyflie to AI-deck and use AI-deck to compute them.
But I find the provided function in the Crazyflie firmware only allows us to read data from AI-deck, not support writing data to UART and send to the AI-deck.
So, I want to consult is there a good way to implement bidirectional communication? And it will be great if there is some open-sourcing codes~

Thanks!

Re: Bidirectional communication between the AI-deck and Crazyflie by UART

Posted: Tue Jan 18, 2022 6:26 am
by jonasdn
Hi raven!

We are working on API paths to have bidirectional comms with the AI deck, but we are not all the way there yet! It is a bit tricky. I have no good answer for how you should go about doing this yourself, perhaps you need to check out the GAP8-SDK to see how you could access the UART there.

We are planning going another route, talking with the esp MCU on the AI deck and having that one talking with the GAP8. Right now I cannot tell you exactly when our work will be published,