Browse Source

autotest: disable wind drag

this is causing some crazy results in stabilize mode. Disable it until
we sort it out
master
Andrew Tridgell 12 years ago
parent
commit
a8b9e5cf5b
  1. 4
      Tools/autotest/pysim/multicopter.py

4
Tools/autotest/pysim/multicopter.py

@ -143,7 +143,9 @@ class MultiCopter(Aircraft):
accel_earth += air_resistance accel_earth += air_resistance
# add in some wind (turn force into accel by dividing by mass). # 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 # 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 # to zero. This effectively adds the force of the ground on the aircraft

Loading…
Cancel
Save