The offending statement has already been commented out in the latest github
revisions so this is just to track the issue to make sure it gets updated in
the next release.
in batteryMonitor.h lowBatteryEvent():
if (level == OK) {
digitalWrite(BUZZERPIN, LOW);
autoDescent = 0;
holdAltitude = 0; <---- This should be commented out
}
If not commented or removed this has the effect of incorrectly zeroing out
holdAltitude causing the quad to fall out of the sky.
Original issue reported on code.google.com by wila...@gmail.com on 6 Feb 2011 at 7:10
Original issue reported on code.google.com by
wila...@gmail.com
on 6 Feb 2011 at 7:10