Takeoff then rolls without reaching to takeoff altitude

yeah yeah,i hav the same problem.take off ,then roll left ,crash

Anyone have solved this problem?

@Aert_Skorsky No one fix it. But I am sure the reason:
“During the first stage of the takeoff the autopilot will use the gyroscope as the principal mechanism for keeping the aircraft flying straight. After sufficient speed for a good GPS heading is reached the aircraft will switch to using the GPS ground track which allows it to account for a cross-wind.”
This is from the wiki document.

Thanks firefly, i have noticed, on all these roll problems, i got “EKF yaw allinment complete”. I think it comes from compass problem.