View Single Post
Old Jan 29, 2011, 02:31 PM
Alexinparis is offline
Find More Posts by Alexinparis
Registered User
Alexinparis's Avatar
Paris, France
Joined Jun 2009
756 Posts
Quote:
Originally Posted by warthox View Post
how can i increase the strength of autolevel?
i try the bma020 and it works good with multiwii 1preter6.
autolevel is set to 25 but its not enough. the quad needs very long to be in level again.

with acc activated i can still do flips. they are only a bit slower. i thought its not possible with acc on?!

any ideas?

there is a line
Code:
    if (levelModeParam == 1 && axis<2 ) rcCommand[axis] = rcCommand[axis]-constrain(angle[axis]*accStrength8/25,-200,+200);  //level mode, nothing more !
If you want the autolevel to be twice reactive, try this:
Code:
    if (levelModeParam == 1 && axis<2 ) rcCommand[axis] = rcCommand[axis]-constrain(angle[axis]*accStrength8/12,-200,+200);  //level mode, nothing more !
or this

Code:
    if (levelModeParam == 1 && axis<2 ) rcCommand[axis] = rcCommand[axis]-constrain(angle[axis]*accStrength8/12,-400,+400);  //level mode, nothing more !
levelmode doesn't prevent flips, but it should ensure an horizontal attitude if you release the sticks

--------------------------------
multiwii forum: http:/wbb.multiwii.com/
Alexinparis is offline Find More Posts by Alexinparis
Reply With Quote