Page 1 of 1

Tapping into the loggings

Posted: Tue Aug 12, 2014 8:44 am
by erlingrj
Hi

Im trying to make a program where the Crazyflie is flying up and down to specific heights, but its so unstable so I think I need to adjust for pitch and roll as the copter ascends and descends. I am fairly new to this kind of programming and I am simple wondering how to access the loggings via a python program? I just want a list/set/whatever with the most basic information beeing fed via a while-loop, just current thurst, pitch and roll so that I can adjust the setpoints. What modules need I import and what functions are the best to use?

Erling

Re: Tapping into the loggings

Posted: Tue Aug 12, 2014 9:38 am
by arnaud
Hi,

The example folder of the client contains a basiclog.py and basicparam.py files that shows hot to access param and log with the Python API: https://github.com/bitcraze/crazyflie-c ... r/examples

/Arnaud

Re: Tapping into the loggings

Posted: Tue Aug 12, 2014 11:49 am
by erlingrj
Thank you

Re: Tapping into the loggings

Posted: Tue Aug 12, 2014 3:05 pm
by erlingrj
Is this the places to discuss potenial bugs/errors/unclear things in the files you linked to?

Erling

Re: Tapping into the loggings

Posted: Wed Aug 13, 2014 10:03 am
by arnaud
If you found a bug you can post it in the bug tracker in github. For potential error/unclear things yes this is the place I guess (and even for potential bug).