PX4 Poll Timeout

Came across a similar issue, except that I got an error of [simulator_mavlink] poll timeout 0, 25

For me it’s caused by inserting px4_usleep(10_ms) in a while loop, and removing the while loop everything returned to normal.

However, if the px4_usleep can be blamed, then the simulator should never be running as you can find px4_usleep here and there in PX4 code.

Still looking for an answer.

Update: also came across poll timeout 0, 22 just now.

It turned out that we armed the vehicle before EKF was ready. Arming vehicle after fixing EKF would be fine.

This is an old post, please create a new one, or report your issue on github.