background image

4

CONTENTS

1.6.2

Serial port configuration

Mandatory. At least one serial port should be configured, otherwise VSM will not try to connect to the vehicle.

Name:

vehicle.microdrones.serial_port

Description:

Serial port configuration, for more details see

Serial port configuration

. Default Microdrones

serial port communication speed is 38400 baud.

Example:

vehicle.microdrones.serial_port.1.name = com1

vehicle.microdrones.serial_port.1.baud = 38400

1.6.3

Model name override

By default the VSM sets ’MD’ model name for the Microdrones vehicles. It can be overriden to more specific name
in the VSM configuration.

Example:

vehicle.microdrones.custom.my_drone.serial_number = 1102

vehicle.microdrones.custom.my_drone.model_name = MD4-200

In this example the model name for the drone with serial number ’1102’ is overriden to value ’MD4-200’.

1.7

Common configuration file parameters

VSM configuration file is a text file specified via command line argument

- -config

of the VSM application. Example:

--config /etc/opt/ugcs/vsm-ardupilot.conf

Each configuration parameter is defined as a line in the configuration file with the following structure:

name1.name2....nameX = value

where name1, name2 ... nameX are arbitrary names separated by dots to divide a variable into logical blocks and
a value which can be a number value or a text string depending on the context. See below the description about
common VSM configuration parameters.

1.7.1

UgCS server configuration

1.7.1.1

Listening address

Mandatory.

Name:

ucs.local_listening_address = [IP address]

Description:

Local TCP address to listen for incoming connections from UgCS server. Specify

0.0.0.0

to

listen from all local addresses.

Example:

ucs.local_listening_address = 0.0.0.0

1.7.1.2

Listening port

Mandatory.

Name:

ucs.local_listening_port = [port number]

Description:

Local TCP port to listen for incoming connections from UgCS server. Default is 5556.

Example:

ucs.local_listening_port = 5556

Copyright © 2017, SPH Engineering

Summary of Contents for VSM UgCS 2.11.227

Page 1: ...Microdrones VSM User Guide UgCS 2 11 227 Copyright 2017 SPH Engineering...

Page 2: ...ommon parameters 3 1 6 2 Serial port configuration 4 1 6 3 Model name override 4 1 7 Common configuration file parameters 4 1 7 1 UgCS server configuration 4 1 7 2 Logging configuration 5 1 7 3 Missio...

Page 3: ...the downlink wire on the drone bottom You can use manufacturer provided downlink equipment which uses video transmitter sound channel for telemetry data transferring and downlink decoder ground unit...

Page 4: ...a battery 1 2 Mission execution specifics Home location cannot be modified by UgCS It is controlled by the autopilot and is permanently bound to a take off position 1 3 Command execution specifics Co...

Page 5: ...ble aircraft returns home and lands if not possible slowly decends Return Home If possible aircraft returns home and lands if not possible slowly decends Continue Aircaft continues mission 1 6 Configu...

Page 6: ...configuration file is a text file specified via command line argument config of the VSM application Example config etc opt ugcs vsm ardupilot conf Each configuration parameter is defined as a line in...

Page 7: ...gle_max_size size Description Maximum size of a single log file When maximum size is exceeded existing file is renamed by adding a time stamp and logging is continued into the empty file size should b...

Page 8: ...port see Serial port configuration for details TCP link see TCP connection configuration for details UDP link see UDP connection configuration for details vsm proxy XBee see Proxy configuration for d...

Page 9: ...indexing name used when more than one exclude names are defined Example vehicle ardupilot serial_port exclude 1 dev ttyS Example vehicle ardupilot serial_port exclude com1 1 8 1 4 Serial port arbiter...

Page 10: ...r Description Local UDP port to listen for incoming packets on Example vehicle ardrone detector 1 udp_local_port 14550 1 8 3 3 Remote IP address for UDP Optional Name prefix detector con index udp_add...

Page 11: ...ilot tcp 1 port 5566 2 Disclaimer DISCLAIMER OF WARRANTIES AND LIMITATIONS ON LIABILITY a SPH ENGINEERING MAKE NO REPRESENTATIONS OR WARRANTIES REGARDING THE ACCURACY OR COMPLETENESS OF ANY CONTENT OR...

Reviews: