The drone takes off and a few seconds later yaws to the right

hello.
Sentences may be strange using a translator.

I use a HEXA/X Copter and made my first flight yesterday. During pid tuning, the drone takes off and yaws to the right after a few seconds as shown in the video.
I think this is a compass problem, judging by the left side of the same symptom after compass calibration.
Are there any other workarounds?
thank you

I don’t know why, but the 15MB video is not uploaded.

Forget the video, post a link to a .bin flight log where this happened.

Upload to dropbox or onedrive - some fileshare service
then put a link to your files here

I re-uploaded the firmware and it works fine.
thank you