Hi , This is my first time about ArduSub , and first time to setup file from GitHub.
[ My plan is : Pixhawk connect to RaspberryPi , Camera connect to RaspberryPi and RaspberryPi direct connect to Surface computer(QGC). It similar to diagram from ArduSub.com but don’t have Fathom X , Network switch]
I have to manual install Companion because My raspberry Pi 3B+ can not boots “ardusub-raspbian”.
What the step to run scripts file for install/prepare companion computer.
After install/prepare companion finish. What the scripts file that I have to run on companion computer for connect Pixhawk and Surface Computer to operation my ardusub system.
We do not support the Raspberry Pi 3B+.
Meanwhile we are still working to support the new boards and the install script to developers to install companion from the source code.
I can install companion computer and already to connected for all equipment. ( Control Pixhawk from QGC and streaming VDO on QGC from RPi with usb camera H.264)
Connection Diagram : Pixhawk & RPi with USB / camera & RPi with / RPi & Surface computer with UDP (LAN direct connect)
So, I have some problem about streaming VDO.
when on QGC and RPi , the VDO was show on QGC all time by without running start-mavporxy.sh and start-video.sh >>> this is normal ??
when I start to record stream on QGC , QGC was break down and I have to close QGC only.
For No.2,3 Maybe the vdo resolution was not suitable for my surface computer >>> How can i reduce the resolution or quality of streaming VDO ?? , or if you have any advice for solve my problem please tell me.
If you installed companion correctly, all services should run and provide all the necessary functionality, you can check it under http://192.168.0.108:2770/system and active services.
For Resolution setting , I need to reduce the resolution to 640x480 or 800x600
I tried both and change framerate from 20 to 90 ,but all is error [ Internal data stream error ]
I can only set : 1920x1080 @ framerate : 20-30
Do you have a table for resolution&framerate H264 setting? or some parameter need to change If I need to reduce the resolution ?
Are you using companion master? That has an issue with how the video is streamed. Make sure at the camera that gstreamer is sending the video to the IP address of your QGC instead of broadcasting (192.168.21.255) it.
I am not sure for your question “companion master” and IP address of broadcasting??.
I setup companion (RPi) with script that Mr.Patrick advice. Then connect RPi to the laptop (surface computer) with UDP (LAN direct connect). and fix ip address at RPi = 192.168.2.2 / laptop = 192.168.2.1 .
Setting IP address for script file :
@ mavproxy.param >> --out udpbcast:192.168.2.255:14550
@ vidformat.param >> ! udpsink host=192.168.2.255 port=5600