Extract raw IMU data from Crazyflie 2.1

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
Karam
Beginner
Posts: 1
Joined: Wed Aug 25, 2021 7:15 pm

Extract raw IMU data from Crazyflie 2.1

Post 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?
Attachments
CaptureCF.PNG
kristoffer
Bitcraze
Posts: 630
Joined: Tue Jun 30, 2015 7:47 am

Re: Extract raw IMU data from Crazyflie 2.1

Post 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/
Post Reply