No heartbeat in last 5 seconds

when I run my script for my drone, I keep getting this error message. I’m not sure what I can do to fix this issue. any suggestion would be greatly appreciated.

I am running a raspberry pi, with NAVIO2 flight controller