Voxl not connecting to QGC
-
Hi @PawelJ
Can you try power cycling your drone and then providing the output of
systemctl status -l voxl-vision-px4
-
@tom said in Voxl not connecting to QGC:
systemctl status -l voxl-vision-px4
Sorry for the delay, I had to shift work for a few weeks. I was also able to get the drone to connect to my windows laptop, however I am still facing the same problem when connecting to my ubuntu 20 desktop. I just went through the connection process again and added my desktops ip given by the voxl-m500, and power cycled as you asked.
~ # systemctl status -l voxl-vision-px4 ā voxl-vision-px4.service - voxl-vision-px4 Loaded: loaded (/usr/bin/voxl-vision-px4; enabled; vendor preset: enabled) Active: active (running) since Thu 1970-01-01 00:00:08 UTC; 23s ago Main PID: 2869 (voxl-vision-px4) CGroup: /system.slice/voxl-vision-px4.service āā2869 /usr/bin/voxl-vision-px4 Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [SensorImuUtil.cpp, 108] ComputeOffset The apps - dsp offset = [-1761534639]ns, Apps ClockType[CLOCK_MONOTONIC] Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.963379] SNAV INFO: IMU sensor finished initializing. Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.963522] SNAV INFO: IMU sensor settings retrieved. Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.963537] SNAV INFO: Creating IMU thread. Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.963627] SNAV INFO: Creating VISLAM processing thread. Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.963682] SNAV INFO: Creating VISLAM publishing thread. Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.963682] SNAV INFO: ImuManager thread has tid = 3052, nice = -15 Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.963762] SNAV INFO: VISLAM processing thread has tid = 3053, nice = -5 Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: Init complete, entering main loop Jan 01 00:00:09 apq8096 voxl-vision-px4[2869]: [7.968099] SNAV INFO: VISLAM publishing thread has tid = 3054, nice = -5
I am still not automatically connecting to QGC, please let me know if there is any other information I can send you.
Cheers
-
@PawelJ It looks as though you are using the correct IP in your config file and voxl-vision-px4 is running correctly. Is it possible that you have some custom firewall setup on your host PC that is blocking traffic on that port?
-
@tom I've seen this happen on Windows with QGC, I believe it can happen on Ubuntu devices as well.
-
Ah now I feel silly, it turns out my firewall was blocking the connection. Thanks for getting back to me so quickly. Can you confirm if it's port 14550 that I need to allow for the connection?
-
@PawelJ Yep, it should be either 14550 or 14551.
-
Thanks for sorting that out Is there a way I can mark the question as resolved? I don't see the option anywhere.
-
@PawelJ There isn't, we like to keep all posts visible in case other users run into the same issue.
-
@tom that sounds great, this forum has already been incredibly useful in my initial setup Just to clarify, I was asking if there was a way to mark the question as having an answer, vs being an ongoing issue. This is helpful when searching through the forum as well.
-
@PawelJ There isn't an exact way to do that, if you want you could edit your initial question and add a [SOLVED] section at the top and describe the solution.