Need a help

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
1Tap
Beginner
Posts: 1
Joined: Wed Sep 18, 2019 12:57 pm

Need a help

Post by 1Tap » Wed Sep 18, 2019 1:03 pm

Hi!

I am developing controllers for the Crazyflie 2.0. To do this, I read the sensor information by the logging functionality. At the moment, I have the pitch, roll and yaw variables from the "Stabilizer" log.

Somebody knows how to get this information from the crazyflie 2.0 .

But now I need the pitch_rate, roll_rate and yaw_rate but I do not how to get this information or in which log they are defined.

Thanks.



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

Re: Need a help

Post by arnaud » Thu Sep 19, 2019 8:15 am

Hi,

There is no attitude rate estimation in the Crazyflie, instead we use the gyro readings directly: https://github.com/bitcraze/crazyflie-f ... .c#L85-L86.

You can log the gyro with the log variables gyro.x, gyro.y, gyro.z.

Post Reply