Hi all,
I’m doing a project that involves HITL and am following this specific documentation - Hardware in the Loop Simulation (HITL) | PX4 User Guide (main).
After installing everything and setting the parameters of QGC, I am unable to get QGC to connect to my pixhawk when I set it to autoconnect via UDP. The drone in Gazebo isn’t responding to any of my controls as well.
I’m using Pixhawk 6x and Ubuntu 20.04 on Windows.
Any help is greatly appreciated, thank you!
Hi,
as a 6X user, when following the official recommendations provided by Holybro, UDP connection works but can be unstable on my configs. My setup relies on a remote computer connected using wifi to an onboard companion computer (rpi CM4 or Jetson) connected to the 6X autopilot (PX4 1.14) using ethernet cable with mavlink-routerd in between hosted on a companion computer.
The initial connection is actually difficult, many reboots on everysides before it works at one time. Using tshark on the companion computer, i see the messages from remote computer to the px4 with no response… up to “the moment” where it suddenly works. Surprising actually, maybe there are some more confident recipes… ?
What’s your config ?
1 Like
Hi I checked again, and UDP seems to be working fine now after I added the connections. I used dmesg | “tty” to check which address to use and it seems to be working fine now. Thank you!