Installing Companion

Hi,

Could someone point me in the direction of how to install the web companion on the pi?

I would like to setup a test setup with a PX4 and a pi on the desk to test out some development…

I have seen GitHub - bluerobotics/companion: Companion computer startup scripts and examples but not sure how to actually install it on the pi.

Thanks,
Jim.

Hi Jim,

You can check here the installation and necessary setup.

Great thanks, i didn’t notice that one and installed the default etcher raspbian.

Thanks.

@patrickelectric Maybe you can help, I have it all installed now but no video, I have the default picam connected but the console log says:

[D] at …\src\QGCApplication.cc:259 - “Settings location “C:/Users/jmtr/AppData/Roaming/QGroundControl.org/QGroundControl.ini” Is writable?: true”
[D] at …\src\QGCLoggingCategory.cc:99 - “Filter rules “qt.network.ssl.warning=false\n*Log.debug=false\nVideoManagerLog.debug=true\nVideoReceiverLog.debug=true\n””
[D] at …\src\FactSystem\FactGroup.cc:88 - “No metadata for fact: “airSpeed””
[D] at …\src\FactSystem\FactGroup.cc:88 - “No metadata for fact: “altitudeAMSL””
[E] at :0 - “serialnmea: No known GPS device found. Specify the COM port via QT_NMEA_SERIAL_PORT.”
[D] at …\src\FlightDisplay\VideoManager.cc:78 - “New Video Source: “UDP Video Stream””
[D] at …\src\VideoStreaming\VideoReceiver.cc:222 - “start()”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:522 - “State changed, _streaming: false”
[D] at …\src\VideoStreaming\VideoReceiver.cc:391 - “Running”
[D] at …\src\Vehicle\MAVLinkLogManager.cc:359 - “MAVLink logs directory: “D:/Users/jmtr/Documents/QGroundControl/Logs””
[D] at …\src\QtLocationPlugin\QGCMapEngine.cpp:215 - “Map Cache in: “C:/Users/jmtr/AppData/Local/cache/QGCMapCache300” / “qgcMapCache.db””
[D] at …\src\FactSystem\FactGroup.cc:88 - “No metadata for fact: “airSpeed””
[D] at …\src\FactSystem\FactGroup.cc:88 - “No metadata for fact: “altitudeAMSL””
[D] at qrc:///qml/QGroundControl/ScreenTools/ScreenTools.qml:122 - “0.025925925925925925”
[D] at qrc:///qml/QGroundControl/FlightDisplay/GuidedActionsController.qml:129 - “_activeVehicle(0) _vehicleArmed(0) guidedModeSupported(0) _vehicleFlying(0) _vehicleInRTLMode(0) pauseVehicleSupported(0) _vehiclePaused(0) _flightMode()”
[D] at qrc:///qml/QGroundControl/FlightDisplay/GuidedActionsController.qml:129 - “_activeVehicle(0) _vehicleArmed(0) guidedModeSupported(0) _vehicleFlying(0) _vehicleInRTLMode(0) pauseVehicleSupported(0) _vehiclePaused(0) _flightMode()”
[D] at qrc:///qml/QGroundControl/FlightDisplay/GuidedActionsController.qml:154 - “_currentMissionIndex -1”
[D] at qrc:///qml/QGroundControl/Controls/SliderSwitch.qml:74 - “24.5 28”
[D] at qrc:///qml/QGroundControl/FlightDisplay/GuidedActionsController.qml:129 - “_activeVehicle(0) _vehicleArmed(0) guidedModeSupported(0) _vehicleFlying(0) _vehicleInRTLMode(0) pauseVehicleSupported(0) _vehiclePaused(0) _flightMode()”
[D] at qrc:///qml/QGroundControl/ScreenTools/ScreenTools.qml:94 - “ScreenTools: Screen.width: 1920 Screen.height: 1080 Screen.pixelDensity: 2.8353435141139114”
[D] at qrc:///qml/QGroundControl/ScreenTools/ScreenTools.qml:94 - “ScreenTools: Screen.width: 1920 Screen.height: 1080 Screen.pixelDensity: 2.8353435141139114”
[E] at …\src\FactSystem\FactGroup.cc:60 - “Unknown Fact “altimeter distance””
[E] at …\src\FactSystem\FactGroup.cc:60 - “Unknown Fact “altimeter distance””
[D] at …\src\VideoStreaming\VideoReceiver.cc:422 - “Set volume: 1”
[E] at qrc:///qml/QGroundControl/Controls/MainToolBar.qml:114 - “qrc:///qml/QGroundControl/Controls/MainToolBar.qml:114: TypeError: Cannot read property ‘sub’ of null”
[D] at qrc:///qml/QGroundControl/ScreenTools/ScreenTools.qml:94 - “ScreenTools: Screen.width: 1920 Screen.height: 1080 Screen.pixelDensity: 2.8353435141139114”
[D] at qrc:///qml/QGroundControl/ScreenTools/ScreenTools.qml:94 - “ScreenTools: Screen.width: 1920 Screen.height: 1080 Screen.pixelDensity: 2.8353435141139114”
[D] at …\src\comm\MAVLinkProtocol.cc:413 - “Orphaned log file count 0”
[D] at qrc:///qml/QGroundControl/ScreenTools/ScreenTools.qml:94 - “ScreenTools: Screen.width: 1920 Screen.height: 1080 Screen.pixelDensity: 2.8353435141139114”
[D] at …\src\comm\MAVLinkProtocol.cc:381 - “Temp log “C:/Users/jmtr/AppData/Local/Temp/FlightData923691.mavlink””
[D] at …\src\FactSystem\FactGroup.cc:88 - “No metadata for fact: “airSpeed””
[D] at …\src\FactSystem\FactGroup.cc:88 - “No metadata for fact: “altitudeAMSL””
[D] at qrc:///qml/QGroundControl/FlightDisplay/GuidedActionsController.qml:129 - “_activeVehicle(1) _vehicleArmed(0) guidedModeSupported(0) _vehicleFlying(0) _vehicleInRTLMode(0) pauseVehicleSupported(0) _vehiclePaused(0) _flightMode()”
[D] at qrc:///qml/QGroundControl/FlightDisplay/GuidedActionsController.qml:129 - “_activeVehicle(1) _vehicleArmed(0) guidedModeSupported(0) _vehicleFlying(0) _vehicleInRTLMode(0) pauseVehicleSupported(1) _vehiclePaused(0) _flightMode()”
[D] at qrc:///qml/QGroundControl/FlightDisplay/GuidedActionsController.qml:129 - “_activeVehicle(1) _vehicleArmed(0) guidedModeSupported(0) _vehicleFlying(0) _vehicleInRTLMode(0) pauseVehicleSupported(1) _vehiclePaused(0) _flightMode(Manual)”
[E] at …\src\FactSystem\FactGroup.cc:60 - “Unknown Fact “altimeter distance””
[D] at …\src\MissionManager\MissionManager.cc:859 - “inProgressChanged”
[!] at :0 - “QWindowsNativeFileDialogBase::shellItem: SHCreateItemFromParsingName(file:///d/Users/jmtr/Documents/QGroundControl/Logs)) failed ()”
[!] at :0 - “QWindowsNativeFileDialogBase::shellItem: SHCreateItemFromParsingName(file:///d/Users/jmtr/Documents/QGroundControl/Logs)) failed (An attempt was made to reference a token that does not exist.)”

Hi Jim,

Did you already checked our troubleshooting guide ?