I posted this a few days ago.
http://diydrones.com/forum/topics/altitude-loss-in-auto
I am getting a little desperate here.
This application is for US/Mexico Border security. We have a sensor system in place and the hexacopter is launched on alert, with 2.8.1 we were flying great. We upgraded to 2.9.1b and we can't fly auto and it is killing our progress because we are stuck on this darn problem.
I have a background in UAV development specializing in PID tuning so while I am new to the Arducopter APM I am not new to the field. This problem is making me crazy and I need some new eyes to look at it.
This is a real offer.
Replies
If you switch to Auto does the quad turn in to a certain heading?
If yes read this
The mysterious AltHold problem .... solved
Below are the logs
Here was the test.
This is very repeatable. If I go into AUTO mode, altitude hold tries to put the copter into orbit.
Any clues here?
2013-05-15 14-47 1.kmz
2013-05-15 14-47 1.log
2013-05-15 14-47 1.log.gpx
Here are some flight logs. speed of aircraft was 7 on this flight but has never been a problem before,
In this test I manually launched and turned it over to the APM. The craft flew west descending rapidly. I then took it back and tried to figure out what direction it was facing as th KML file shows.
2013-05-13_17-38_3.kmz
2013-05-13_17-38_3.log
This is what happens when a Hexacopter attacks your arm. This happened this morning!
Just a thought,
You said it flies well in stabilize and alt hold so I have to presume you are trying to fly at least to test this at approximately the same speed you would be flying in auto.
If flying in alt hold is holding the altitude when you try to fly manually at approximately inter-waypoint speed, I don't think that the speed of air movement can be the problem. (If it does descend, then local air movement is the problem).
Assuming it isn't, is it possible that some how your actual waypoint altitude is not set correctly or at least, as you expect.
There is also a waypoint option bitmask that among other things allows altitude to be set relative or absolute, I think it defaults to realtive which is OK but if it is set to absolute that could be a problem.