Page 1 of 1

ASCII alphabet being sent from client to crazyflie

Posted: Mon Nov 08, 2021 3:10 am
by traffens
Good evening,

When dumping the packets being sent to the crazyflie, I'm seeing the ASCII alphabet being sent over and over again.

Where is this coming from? I'd like to know so I can better understand how to send information/data to the drone.
Thanks!

Re: ASCII alphabet being sent from client to crazyflie

Posted: Mon Nov 08, 2021 12:05 pm
by jonasdn
Hello traffens!

So, this is a tricky question :) Maybe we could get a bit more information about what you are trying to do, or learn?

But, to try to answer in the general, when you are dumping data like this and you get some kind of counter and you print it. Then you will many times end up with seeing an alphabet, since that is characters, in the printable range that increase in series.

So maybe this is the IDs in the table of contents of logging variables or parameters, see: https://www.bitcraze.io/documentation/r ... /logparam/

Or it might something else :) We are currently updating our documentation regarding the CRTP (Crazyflie RealTime Protocol) but what we have might give some guidance: https://www.bitcraze.io/documentation/r ... reas/crtp/

Regards
Jonas

Re: ASCII alphabet being sent from client to crazyflie

Posted: Tue Nov 09, 2021 10:53 pm
by traffens
I'm just trying to get a better understanding of what information is being sent to the drone. I've been dumping packets from cflib/crtp/radiodriver.py

Image


Thank you for the links!