Page 1 of 1

Extract raw IMU data from Crazyflie 2.1

Posted: Mon Mar 28, 2022 11:05 am
by Karam
Hi guys,

I tried to run one of the scripts that you have in your library “multiranger_pointcloud.py” and I want to extract raw IMU data (angular velocity and acceleration) from Crazyflie 2.1 and store them in a file. Could you please provide some instructions on how this can be done?

Re: Extract raw IMU data from Crazyflie 2.1

Posted: Mon Mar 28, 2022 12:21 pm
by kristoffer
Hi!

You can find all log variables here https://www.bitcraze.io/documentation/r ... /api/logs/

You set up logging of the appropriate variables in a similar way as in the script your are looking at. You can also check out the basiclogSync example https://github.com/bitcraze/crazyflie-l ... logSync.py or the basisclog in the same directory, for some more inspiration.

You can read about the logging framework here https://www.bitcraze.io/documentation/r ... /logparam/