31051995 / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Autolevel software trim #595

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I believe it is important to have a in-software autolevel trim.
No frame is perfect after a few crashes and autolevel calibration becomes 
useless when the copter drifts even when "level" due to imperfections.
Radio trims should not be used in this case, because they mess up I-terms and 
wind resistance, deadzone become useless.

I think we desperately need a Multiwii-like autolevel trim to make it possible 
to have a really stable hover with such imperfections.

How I propose it should work:

1) ARM and fly for a while, note where it tends to drift
2) land and DISARM
3) put throttle to max, use roll/pitch to set trim (led blinks on each step, 
blinks multiple times when 0)
4) repeat until satisfied

Those trim values could be visible in MP to make it possible to reload them 
after upgrade, or input them manually after erase, and to have a lead when 
debugging if somebody flies with a totally bogus geometry.

Original issue reported on code.google.com by zviratko...@gmail.com on 9 Apr 2012 at 5:56