Ballpark PID values for loiter mode

Hi all, we are running the latest mission planner, stabilize mode is great and very stable, however when we switch to loiter mode it gets very erratic, swings back and forth about 10m and rises and falls with violent throttle changes. It's a hexacopter with a weight of about 3kg, we tried adjusting the PID settings in the loiter panel, P was at 2.4 and D at 1, we tried p between 2 and 3, and d between .75 and 1.75, although there was a difference in how it reacted it was still swaying violently and climbing and decending. Is it just the values in loiter that need changing, or do we have to alter the values in pitch, roll and altitude as well

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Done some more flight testing today, with some different PID values for Alt Hold, the values are

    P=0.35

    I=0.01

    D=0.30

    Imax=20

    the same issue occured with it surging up and down preety much as soon as loiter was engaged, any suggestions what to try, one thing we are thinking is that all the FC boards are mounted in a platic box with only one hole, could prop wash/ wind be pressurising the box and causing fluctuations for the barometer? isf so would drilling more holes solve this.

    There is also an issue with losing altitude when yawing left, it's ok going right but can be significant whrn yawing left.

    Looking back through all the firmware releases they are all listed as beta, when will a code be released that is not a beta code, we ultimately want to use our hexa for commercial photography but would be uncomfortable using code that is still classed as beta. Is this something planned for the near future. I have attached some video of todays test flights

    https://www.youtube.com/user/wwatkins1975#p/a/u/1/85xhC-ttshw https://www.youtube.com/user/wwatkins1975#p/a/u/0/fPaGcfnouWM

  • If its swinging back and forth violently its oscillating.  Try lowering the I and D.  Btw I have never flown one of these yet but I work on control valves / vfd's ... so maybe its the same.

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…