Automatic adjust for roll and pitch trim

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
petry
Beginner
Posts: 1
Joined: Sat Nov 23, 2013 4:31 pm

Automatic adjust for roll and pitch trim

Post by petry »

Hi Crazyflyers

I'm thinking in develop an algorithm to inform the best values for roll and pitch values.

How about this? Is it possible?

My motivation is because my crazyflie, in flight doesn´t stop in one position always need correct the roll and pitch.

Have good flights.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Automatic adjust for roll and pitch trim

Post by tobias »

Calibrating the accelerator might be one possible solution. I've posted a little bit about it in this post. Using balanced propellers is also very important to get the Crazyflie as steady as possible.
omwdunkley
Expert
Posts: 162
Joined: Thu Jun 06, 2013 9:56 pm
Location: Munich

Re: Automatic adjust for roll and pitch trim

Post by omwdunkley »

Youre always going to "drift" unless you have some form of absolute position measurement. Easiest would be something along the lines of using an external sensor (see the work using the kinect). In an ideal world you could double integrate the acceleration to get your position, but this wont work because your acceleration measurements are noisy.
Post Reply