Page 1 of 1

the data of local position system

Posted: Sun Jan 21, 2018 2:10 pm
by liuyuzhen
Hello,

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!

Jackie

Re: the data of local position system

Posted: Mon Jan 22, 2018 12:25 pm
by arnaud
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.