Drone exponential oscillating on takeoff

I built a F550 drone but upon takeoff it starts oscillating until it crashes.
I’m using an F550 frame with px4 and 2514 KV1498 motors. When the drone takes off it starts oscillating until it crashes. I think it might be a PID issue, but I don’t know how to tune PID if I can’t even get the drone off the ground. Here’s my log file:

The log link that you shared doesn’t seem to show anything. Can you check.

Have you read through this?

I looked through that but it says tuning the PID you need to fly it first and the drone crashes immediately on takeoff


Can u post a video with the drone armed for take off and with position mode selected.
What is your PX4 version . Before doing this , kindly reformat your SD card .