the data of local position system

All discussions related to the Loco Positioning system
Post Reply
Posts: 14
Joined: Sun Sep 24, 2017 4:07 am

the data of local position system

Post by liuyuzhen » Sun Jan 21, 2018 2:10 pm


I have used the local position system, but I want to be able to get the crazyflie's location data(x、y、z) to draw a track, not only display on the client . How should I do? Thank you!


Posts: 1888
Joined: Tue Feb 06, 2007 12:36 pm

Re: the data of local position system

Post by arnaud » Mon Jan 22, 2018 12:25 pm

Hi Jackie,

with the client, you can write the logged values to a csv file. For that you can create a log block with the data you are interested into, and in the log block tab you can start the log block and enable it to be written to files. The log files are written to the config folder, you can open it from the config menu in the client.

If you are writing your own scripts, you can log the data and write them in a file. You can find an example of how to log data in the example folder of the crazyflie-lib-python project on github.

Post Reply