Altitude follows desired altitude then begins oscillating

Hello,
I am working on flying an iris+ quadrotor indoors without GPS using an onboard computer to send attitude messages. The positioning is working well however the altitude of the copter will hold steady for about 30 seconds before starting to oscillate up and down and never recovering. Does anyone know of a solution to this problem? I am flying around 1m above the ground using a rangefinder. The rangefinder and altitude measurements seem to be correct.
Additionally the position hold I have implemented- a simple PID setting the attitude at 50hz based off of external data will also hold steady for around 30seconds then the copter will begin toilet bowling until I am forced to land.

I am running on APM:Copter V3.4.6

Here is the log file from the flight.
195 6-1-17-1059am Altitude oscillation PM.bin (742.6 KB)

Here is the image of one of the major problems.

The motor outputs are saturating. It appears overloaded. Needs ~70% power to hover. Solution is lighter payload, or more powerful quad (if this iris is well setup and battery is not questionable.)

I can’t see the battery data in the log.

1 Like

Ok thanks for the info! just curious where do you see the motor outputs? There are a fair number of attachments on the quad and that would explain it. I can also try swapping out for a new battery. Unfortunately no battery data is ever logged.

  • I found what you were saying. Looks like I will have to try and lighten the load.
    What battery statistics should I be looking for?