Hey everyone, this is my first time post in Bitcraze forum.I was trying to log a data from the client and plot the trajectory on matlab. I have read this article about the log block https://wiki.bitcraze.io/doc:crazyflie: ... log_blocks, and from my log block I got this. . so here is my question, is the 'position estimate' data's accurate to plot the trajectory of the crazyflie? could you guys help me on the matlab code too to plot the trajectory, because when i plot the 'position estimate' data in matlab I got scattered figures and it doesn't show the trajectory.
Thanks,
Data logging from client and plot trajectory in matlab
Re: Data logging from client and plot trajectory in matlab
Hi, Sorry for the late reply so I hope you were able to find a solution to your problem in the mean time.
Yes, you need the position estimate log indeed, however it is not sure what you want to do? Do you want to log the position, because you would need to do that through our python libary (https://github.com/bitcraze/crazyflie-lib-python). There you should be able to write it out in a external .cvs or .txt file and then upload to matlab to plot it, but you can also directly plot it in python with matplotlib
Let us know if you still want help with this.
Yes, you need the position estimate log indeed, however it is not sure what you want to do? Do you want to log the position, because you would need to do that through our python libary (https://github.com/bitcraze/crazyflie-lib-python). There you should be able to write it out in a external .cvs or .txt file and then upload to matlab to plot it, but you can also directly plot it in python with matplotlib
Let us know if you still want help with this.