Quad pitch forward and roll rightward at taking off

Hello,

  1. I built a q380 drone, with optical flow and distance sensor as the position mode signal. I tried to fly it in both position mode and stabilize mode. However, both flights failed due to pitch forward and roll rightward. It even flipped over in position mode. I uploaded the logs (However, I can not figure out which log is position mode or stabilize). log1 log2. Could anyone help me figure out what is the reason?
  2. And I can see that in position mode, the motor reaction is much slower to remote controller compared to stabilize mode, is it normal? And the signal quality in QGC is always 39%, even they are close to each other with fully charged battery.

Thanks!

It turns out the motor sequence was connected wrong. motor 2 and motor 3 were still misconnected. Thanks.