In this guide, we need a few things:
NavQ Companion Computer mounted with Google Coral Camera attached
Laptop/Phone with QGroundControl Installed
Both NavQ and mobile device connected to the same WiFi network
In QGroundControl, click the Q logo in the top left, and configure the video section as seen in the image below:
This will set up your QGroundControl instance to receive the UDP video stream from the NavQ.
Follow the WiFi setup guide using
connman in the Quick Start guide to connect your NavQ to the same router as your mobile device. You will need to use the serial console to do this. Once you have your NavQ connected, you can run
ifconfig in the serial console to find the IP address of your NavQ.
You can SSH into the NavQ to run the GStreamer pipeline once you have the IP.
With your NavQ on, SSH into it by using the IP address you noted when connected to the serial console. Once you're successfully SSHed in, you should note the IP address that you logged in from as seen here:
This is the IP of your computer that you should be sending the video stream to.
To run the GStreamer pipeline, run the following command:
$ sudo gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480,framerate=30/1 ! vpuenc_h264 bitrate=500 ! rtph264pay ! udpsink host=xxx.xxx.xxx.xxx port=5600 sync=false
Once you run that command, you should be able to see the video stream from your NavQ on QGroundControl!