Setup the UgCS SkyHub Device
In order to configure the UgCS SkyHub software one should edit
skyhub.conf
file located in
/etc/skyhub/
directory. This configuration file has a widely used INI like file format. The
default configuration file created automatically if the configuration file doesn’t exist.
The first step is to enable the only used autopilot and disable others. Go to
[AUTOPILOTS]
sections and set the corresponding field to
true
. For example, when using the solution with
drones:
DJI M600/M600Pro/M210:
[AUTOPILOTS]
DJI=true
DJI_M=false
MAVPILOT=false
The second important step is to configure used autopilot and payloads. Pay attention that
related section will be available for configuration only after it enabling and UgCS SkyHub
restart. For example, DJI autopilot related parameters are collected within the
[DJI]
section:
[DJI]
APP_ID=1071019
APP_KEY=42873781474d507ebf72353187ea0af50cbd926b3b790e6cf0cdf8292330b25d
BAUD_RATE=230400
RESPONSE_TIMEOUT_S=1
SENDING_PERIOD_MS=20
SERIAL_DEVICE=/dev/ttymxc3
ArduPilot / PX4 autopilot related parameters are collected within the
[MAV]
section:
[MAV]
BAUD_RATE=57600
COMPONENT_ID=5
CONNECTION_TYPE=UART
SENDING_PERIOD_MS=20
SERIAL_DEVICE=/dev/ttymxc3
SYSTEM_ID=2
V2_EXTENSION=false
Within
[PAYLOADS]
section set to
true
for the only used payloads and
false
for the
unused ones. For example, when using the high frequency GPR with the radar altimeter:
[PAYLOADS]
ATTOLLO_WASP=false
DROP_MESSENGER=false
ECHOLOGGER_DUAL=false
Setup the UgCS SkyHub Device
UgCS SkyHub User Manual
Copyright © 2019—2021, SPH Engineering
46
Revision 5 • November 2021