Arducopter 3.6 SITL with gazebo unstable flight

Hi Eric

I am using the same setup and I was also facing the same issue. In my case setting AHRS_EKF_TYPE=10 fixed the problem. (This was previously suggested to me by @tridge here when I had similar issues on Ubuntu 16.04)