No Heartbeat last 5 seconds: dronekit

Whenever I run my script to arm and take off the drone, I get a dronekit no heartbeat error last 5 seconds warning. I am able to connect to the gcs without any problems. I am using a navio2 with a rpi4 currently in my copter build. With the error I am unable to get the drone armed and take off. It is always stuck in a constant loop trying to get into guided mode or armed.

Constantly tries to get into Guided flight mode but fails with a No heartbeat last 5 seconds warning. Specifying port as udp:127.0.0.1:14550

Constantly tries to get armed but can’t with a No heartbeat last 5 seconds warning. Specifying port as 127.0.0.1:14550

I have checked to see if arducopter is running and it is. I am using the ardupilot build that was already on the navio2.

I am not sure how to solve this error. Any help in solving this error that I am having is much appreciated.

Thanks

Hi Ankith,

Thanks for your patience.

May I ask you to try the suggestion described in this community forum thread?