Latency bug in voxl-mavlink-server
-
Hi devs
I encountered this as I moved from SDK0.9.5 to SDK1.0 on the VOXL2:
- UAV and GCS (QGC) communicates over cellular, joystick only (no RC transmitter)
- Fly the UAV. Land. Replace the battery (or for testing purposes you can just sudo reboot the VOXL2)
- Do not turn off the QGC application (tried on both Android and Windows; with physical joysticks)
- Upon reboot, the connection between QGC and UAV will resume. But, you will notice that the latency is say 500ms - 1s higher than usual. It becomes very apparent in flight because the joysticks' sticks movements are no longer considered "real time". You wont be able to notice it just by switching flight modes on the ground.
The workaround to restart voxl-mavlink-server (without rebooting QGC) or QGC itself after the connection has resumed in Step 4 above.
This issue is repeatable every time
Did not experience this in any of the earlier SDK versions.
-
Hi.. can any devs confirm that what I encountered was a valid bug and not smth that was unique to my setup only? Thanks
-
@hmlow We don't normally fly with Mavlink commands. We will attempt to set up a test fixture with this and see if we can replicate the issue.
-
@Eric-Katzfey thank you very much for looking into this
-
@hmlow Here is a link to an updated version of PX4 that should solve this issue: http://voxl-packages.modalai.com/dists/qrb5165/staging/binary-arm64/voxl-px4_1.14.0-2.0.43_arm64.deb
-
@Eric-Katzfey thanks for the 2 fixes in a single package! Will try it out and report back tmr