I got Ardupilot set up and working for the first time on an APM 2.6 board. I was testing the RTL function and I set the my RTL altitude to 200 (2 metres), and ran my first test by taking off in stabilize, flying approximately 5 metres away while keeping the drone at 2 metres altitude then activating RTL.
The drone returned to the launch spot, but descended as it did so, nearly touching the ground at about the point it launched. So it looked like it was flying directly for the spot on the ground where it launched, not at 2 metres, then it climbed straight up to 2 metres, and continued the landing procedure as intended, it hovered for 5 seconds at 2 metres then landed.
Can anyone help me with why it is doing this, it did it on repeated attempts.
Some points:
APM flight controllers are very old and not supported - you likely wont find anyone to help in any detail
2m is very low and pressure changes from prop wash could come into play. If you are able to look in a log you may find the copter thought it was maintaining altitude.
RTL_CONE_SLOPE - I dont even know if this existed in those early Arducopter versions!
values from 0.5 to 10.0 1 means 1m out 1m up, 10m out 10m up (very shallow inverted cone) 2 means 1m out 2m up, 10m out, 20m up (shallow inverted cone) 3 means 1m out 3m up, 10m out, 30m up (steep inverted cone)
and so on.
If the copter is within the cone it wont climb