Tapping into the loggings

Firmware/software/electronics/mechanics
Post Reply
erlingrj
Beginner
Posts: 23
Joined: Mon May 12, 2014 12:17 pm

Tapping into the loggings

Post 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
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Tapping into the loggings

Post 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
erlingrj
Beginner
Posts: 23
Joined: Mon May 12, 2014 12:17 pm

Re: Tapping into the loggings

Post by erlingrj »

Thank you
erlingrj
Beginner
Posts: 23
Joined: Mon May 12, 2014 12:17 pm

Re: Tapping into the loggings

Post by erlingrj »

Is this the places to discuss potenial bugs/errors/unclear things in the files you linked to?

Erling
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Tapping into the loggings

Post 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).
Post Reply