logging console using crazyflie python lib

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
Maximiliandio
Beginner
Posts: 8
Joined: Sun Oct 18, 2020 1:51 pm

logging console using crazyflie python lib

Post by Maximiliandio »

Hello, what is the best way to log the console similar to the cfclient using the cf-client python lib?

I am especially interested in warning and error messages and the computational load (in the cfclienet I use the command Task dump) is there a way to get a similar response with the python lib?

Thanks, Max
arnaud
Bitcraze
Posts: 2391
Joined: Tue Feb 06, 2007 12:36 pm

Re: logging console using crazyflie python lib

Post by arnaud »

I showed in this thread how to get the console data from a python script: viewtopic.php?f=9&t=4549&p=20866&hilit= ... hon#p20866

To trigger a task-dump you need to set the parameter "system.taskDump" to 1.
Post Reply