PX4 Poll Timeout

Hello,
I’m trying to run a jmavsim and the drone and everything initializes but after approximately 30 seconds I am getting a repeated error saying ERROR [simulator] poll timeout 0, 22. This occurs even if I simply initialize the simluation. How do I go about fixing this

2 Likes

hi. did you get any answer?

@tgulur Have you been able to figure out a solution for this? I have been experiencing the same issue.

1 Like

same problem. every time i launch the simulation this happen

Same here, did anyone figure it out?

Same problem here. Did anyone figure it out?

Hello, same issue, has anybody found a solution ? It used to work perfectly for a few months but now I have this weird bug, and I don’t remember changing anything. It disappears on its own after a minute though

Hello all, I never got a solution to this. I have a feeling this occurs on Windows machines as when I swapped to a Linux machine with PX4 installed, I did not have anymore poll timeout errors. Hope this helps

1 Like

Any one found solution or Root cause for this issue. Am running Simulator Setup on Mac OS.

As soon i launch a simulator “$ make px4_sitl jmavsim” , Simulator GUI is launched but an NOT able to trigger Take Off. Get an " ERROR [simulator] poll timeout 0, 22"

INFO [mavlink] MAVLink only on localhost (set param MAV_{i}_BROADCAST = 1 to enable network)
INFO [px4] Startup script returned successfully
pxh> INFO [tone_alarm] home set
INFO [tone_alarm] notify negative

pxh> ERROR [simulator] poll timeout 0, 22

Please share any fix for this. Thanks in advance.

1 Like

I have been using a mac & it continuously occurs in my system. Initially all was fine for a feww months. But afterwards the issue started happening intermittently. Haven’t figured out a solution yet.

Dear ganesh-skywalk, have you find a solution?

Same problem o follow for solution

I met the same problem. I ran “px4_silt_rtps gazebo_r1_rover” and it stopped the offboard mode suddenly with continuous “poll timeout”.

I have tried to run the offboard setpoint using “px4_sitl_rtps gazebo_rover” for 30 minutes. No problem is happened. It also worked for boat. The only not working airframe is r1_rover.

I am using the simulator on linux (“jetson xavier NX”) and I am going to use “aion robotics r1 UGV” airframe on my boat in reality.

stuck here also.
I am trying to run make px4_sitl gazebo-classic

Stuck at poll timeout 0,22.

Not able to connet with QGrounControllers either

One more with teh same error here, exactly the same issue…

+1 on receiving the ERROR [simulator_mavlink] poll timeout 0, 22 error

I did a

make clean

followed by a

make distclean

and then ran the command again. I didn’t receive any polling errors this time round.

Ok I got the same ERROR today after messing around with the parameters in QGroundControl.

I’ve set the CAL_GYRO0_PRIO and CAL_ACC0_PRIO parameter to Disabled. After that, I’ve also got the “ERROR [simulator_mavlink] poll timeout 0, 22” and the simulated (Iris) drone was for some reason no longer able to connect to QGC so I couldn’t reset these two parameters.

It has turned out that it just took ages (a few minutes ;-)) to connect to QGC and again ages to load the old parameters. The Loss rate of the MAVLink Link Status in QGC was around 85 %. I have no idea why it was like that but now it works again…

Probably not the only reason for this problem, but if anyone else has the same issue…

Hello, I am also getting the same error only when i try to do offboard control in PX4 SITL. Have anyone found the solution??

I’ve been facing the same issue for the past two days. It could be related to network port connectivity. Make sure that PX4 is connecting to the correct port and that the port is not being used by another application or server. For example, if PX4 is trying to connect to TCP port 4560, but another process is already occupying it, the connection will fail. To fix this, identify and terminate the process using that port, restart your simulator, and then try connecting PX4 again