Page 1 of 1

logging console using crazyflie python lib

Posted: Tue Jan 05, 2021 8:59 am
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

Re: logging console using crazyflie python lib

Posted: Tue Jan 05, 2021 9:16 am
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.