From a8b9e5cf5b7aac1d76721639eef99c659cce9388 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 14 Jan 2013 18:02:53 +1100 Subject: [PATCH] autotest: disable wind drag this is causing some crazy results in stabilize mode. Disable it until we sort it out --- Tools/autotest/pysim/multicopter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/pysim/multicopter.py b/Tools/autotest/pysim/multicopter.py index da3d52ece1..6611441309 100755 --- a/Tools/autotest/pysim/multicopter.py +++ b/Tools/autotest/pysim/multicopter.py @@ -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