Using OptiTrack with MAVProxy is giving these errors

Re-calibrate the gyros.
Disable visual odometry, get the drone working without it first.
Add follow all steps of How to methodically tune (almost) any multicopter using ArduCopter 4.4.x