i have unfortunately still got some issues with my APM on my small copter.
Two weeks ago, when launching the copter it leaned to one side after switching to Loiter and crashed on a street.
Having done a flight test last weekend, everything worked perfectly, it was hovering and i could just up and down it by using the throttle.
Today, i have done another test flight, it worked perfectly again until the battery was empty.
After changing the battery against another fully charged one, i have got the "lean to one side and crash" behavior again.
Does anybody know why this happens or what could be the cause ?
I usually plug in the battery and then wait ~ 90 seconds, then level the copter (stick to the left for 15-20 seconds, then arm and launch in stabilize. After reaching e.g. 5-10m height, i switch to loiter and then get the results as described above.
Has somebody seen the same and maybe resolved the issue ?
theres no need to level each time you change battery.
the setting will drift a bit over time (and with temperature changes), but once you have it flying level dont touch anything unless you start to see an error.
thanks for the input and trial to help me with my issues.
Unfortunately, i think the issue is not related to levelling - even though i have leveled the craft every time, it should be okay from my point of view (please correct me if i'm wrong) due to the fact that the copter flies ok when in stabilize but just not in loiter.
In fact, with leaning to one side in loiter, i am talking about the craft going to 45° to one side - so no slight drift, but a very heavy acceleration.
Does anyone have an idea what may cause this to appear on ~ 50% of my latest flights ?
Is there a way to tell from logs ?
ok, if its only in loiter it could be due to incorrect magnetic declination setup.
in my first flights with v2.1 i had this setting wrong, which resulted in falling out of the sky 100% of the time when engaging loiter (http://diydrones.com/forum/topics/hexa-loiter-circle-does-not-stabi...)
could it be this? if AC applies correction in the wrong direction it gets further and further off target so applies more and more correction.
it could very well be this issue - i have no explanation however why it worked one time and then did not work next time (i did not have a computer with me out at the field yesterday, so i did only use the remote and therefore assume i did not change any settings ?).
In fact, i am using a English Windows 7 with a german keyboard. - So i have no idea if i should use a , or a . - In the end, may it also work if i just enter e.g. 3 instead of 3,3 (or 3.3) ?
This brings me back to this thread: http://diydrones.com/forum/topics/sbas-dgps-auto-magnetic-inclinati...
Did anyone actually implement auto-inclination now ? - I tried to read the code, but could not find it ?
What is it that i have to set now (if manual setting is required) 3.3 or 3,3 ?
no idea about auto declination.
as for what decimal point to use, if the windows installation is in english its most probably a point (.), although that can always be overridden in Control Panel > Clock, Language, and Region > Region and Language > Additional settings.
perhaps the easiest would be to use the same decimal separator displayed in mission planner PID/config screens. if it uses a point there, then it will expect a point in the declination setup too.