Bidirectional communication between the AI-deck and Crazyflie by UART

Discussions about the AI-deck
Post Reply
raven
Member
Posts: 33
Joined: Thu Sep 24, 2020 1:57 pm
Contact:

Bidirectional communication between the AI-deck and Crazyflie by UART

Post 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!
Make positive impact.
jonasdn
Expert
Posts: 132
Joined: Mon Mar 01, 2021 3:13 pm

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

Post 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,
Post Reply