Page 1 of 1
Streaming multiple crazyflie positions from LPS over UDP
Posted: Mon Jul 22, 2019 7:55 pm
I want to broadcast the current positions (and states) of several crazyflies over UDP as they are flying. My two critical parameters are:
- Absolute Position Estimate
- Battery Level
I see these parameters being visualized when I'm running cfclient
, but I can't find the callbacks in the source code
. Can someone point me in the right direction?
Re: Streaming multiple crazyflie positions from LPS over UDP
Posted: Wed Jul 24, 2019 9:04 am
The cfclient is build upon the cflib library, from which you can find the source code in the repository crazyflie-lib-python here: https://github.com/bitcraze/crazyflie-clients-python
. In examples you have the basiclog.py and basiclogsync.py which explains how to get log data.
These are the logs you should look at, which you can double check with the cflient:
Absolute Position Estimate: