ArduSub submodules

No problem

I fairly closely followed the instructions from here:

https://github.com/mavlink/qgroundcontrol/tree/master/src/VideoStreaming

I’m running Ubuntu on both the RPi and the Laptop, so followed that path.

Then, instead of running the streaming script in the instructions, I ran the following altered script to stream from the RPi camera:

raspivid -t 0 -h 720 -w 1080 -rot 180 -fps 24 -hf -b 2000000 -o - | gst-launch-1.0 -v fdsrc ! video/x-h264,width=1080,height=720,framerate=24/1 ! h264parse ! rtph264pay ! udpsink host=XXX.XXX.XXX.XXX port=5000

where XXX.XXX.XXX.XXX is the ip address of the laptop where qgroundcontrol is running.

The other important step is to make sure you’re running a version of qgroundcontrol that supports video streaming - the pre-compiled versions don’t seem to so I’ve installed the development build from here:

https://github.com/mavlink/qgroundcontrol

Hope this helps? Let me know if any of the steps don’t make sense.

 

Andrew