autotest: disable wind drag

this is causing some crazy results in stabilize mode. Disable it until
we sort it out
This commit is contained in:
Andrew Tridgell 2013-01-14 18:02:53 +11:00
parent 5418827f22
commit a8b9e5cf5b
1 changed files with 3 additions and 1 deletions

View File

@ -143,7 +143,9 @@ class MultiCopter(Aircraft):
accel_earth += air_resistance
# add in some wind (turn force into accel by dividing by mass).
accel_earth += self.wind.drag(self.velocity) / self.mass
# NOTE: disable this drag correction until we work out
# why it is blowing up
# accel_earth += self.wind.drag(self.velocity) / self.mass
# if we're on the ground, then our vertical acceleration is limited
# to zero. This effectively adds the force of the ground on the aircraft