Random PX4 Mavlink Disconnected
-
Hi,
We have an issue where sometimes the drone drops out of the air. Looking at the
journalctl
logging we see aWARNING: PX4 Mavlink Disconnected
message at the time when it drops. Also, a few seconds before it has disconnected we see the messagekernel: ==> rtl8188e_iol_efuse_patch
. Has anyone else experienced this or has an idea what could be causing this?Also, I saw that there are two ways to get the
WARNING: PX4 Mavlink Disconnect
. One with a disconnect callback and one with a timeout. Would it be an idea to tell in the logging message of the timeout that the disconnect is caused by a timeout?This is the software we have running:
-------------------------------------------------------------------------------- system-image: 1.5.2-M0054-14.1a-perf-nightly-20221219 kernel: #1 SMP PREEMPT Mon Dec 19 02:17:54 UTC 2022 4.19.125 -------------------------------------------------------------------------------- hw version: M0054 -------------------------------------------------------------------------------- voxl-suite: 0.9.5 -------------------------------------------------------------------------------- PHIL:~$ voxl-inspect-services -v Service Name | Version | Enabled | Running | CPU Usage --------------------------------------------------------------------------- docker-autorun | 1.2.4 | Disabled | Not Running | docker-daemon | 1.2.4 | Disabled | Not Running | modallink-relink | 0.16.1 | Disabled | Not Running | voxl-camera-server | 1.3.7 | Enabled | Running | 0.0 voxl-cpu-monitor | 0.3.0 | Enabled | Running | 0.0 voxl-dfs-server | 0.1.0 | Disabled | Not Running | voxl-imu-server | 0.5.0 | Enabled | Running | 0.0 voxl-mavlink-server | 0.3.0 | Enabled | Running | 0.0 voxl-modem | 0.16.1 | Disabled | Not Running | voxl-portal | 0.5.0 | Disabled | Not Running | voxl-px4-imu-server | 0.1.2 | Disabled | Not Running | voxl-px4 | 1.12.31 | Enabled | Running | 0.0 voxl-qvio-server | 0.8.2 | Enabled | Running | 0.0 voxl-remote-id | 0.0.5 | Disabled | Not Running | voxl-softap | 0.1.5 | Disabled | Not Running | voxl-static-ip | 0.1.5 | Disabled | Not Running | voxl-streamer | 0.4.1 | Disabled | Not Running | voxl-tag-detector | 0.0.4 | Disabled | Not Running | voxl-tflite-server | 0.3.1 | Disabled | Not Running | voxl-time-sync | 1.2.2 | Disabled | Not Running | voxl-vision-px4 | 1.4.0 | Enabled | Running | 0.0 voxl-wait-for-fs | 1.2.2 | Enabled | Completed |
-
@Tjark The only obvious thing I notice from your version info is that your system image is a bit out of date for that voxl-suite version, I would expect it to be version 1.5.5. I'd recommend re-flashing to the 0.9.5 release
-
@tom Yes, thanks! That is a good idea. I will do that.
I was looking at the release page of the system image and saw this line with 1.5.3 internal release:HLOS Added service file that changes SLPI restart level to avoid board crash when SLPI crashes
What is SLPI and could you describe a little bit more what kind of issues you saw when SLPI crashed?
I also sometimes sawpx4io io_reg_get(4,0,15): data error -5
in the logging so maybe that could be related?