mirror of https://github.com/ArduPilot/ardupilot
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:
parent
5418827f22
commit
a8b9e5cf5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue