6
CONTENTS
1.7.3
Mission dump path
Optional.
•
Name:
[prefix].mission_dump_path = [path to a file]
•
Description:
File to dump all generated missions to. Timestamp is appended to the name. Delete the entry
to disable mission dumping. All directories in the path to a file should be already created.
•
Example:
vehicle.ardupilot.mission_dump_path = C:\\tmp\\ardupilot_dump
1.7.4
Automatic service discovery
VSM can respond to automatic service discovery requests form UgCS server.
When this parameter is not configured, service discovery is disabled.
Optional.
•
Name:
service_discovery.vsm_name = [Service name]
•
Description:
Human readable service name.
•
Example:
service_discovery.vsm_name = Ardupilot VSM
1.8
Communication with vehicle
VSM can communicate with Vehicle over different communication channels
Currently supported channels:
• Serial 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 details.
1.8.1
Serial port configuration
Optional. VSM which communicates with vehicles via serial ports should define at least one serial port, otherwise
VSM will not try to connect to the vehicles. Port name and baud rate should be both defined. [prefix] is unique for
each VSM.
1.8.1.1
Port name
Optional.
•
Name:
[prefix].[port index].name = [regular expression]
•
Description:
Ports which should be used to connect to the vehicles by given VSM. Port names are defined
by a [regular expression] which can be used to define just a single port or create a port filtering regular
expression. Expression is case insensitive on Windows. [port index] is a arbitrary port indexing name.
•
Example:
vehicle.ardupilot.serial_port.1.name = /dev/ttyUSB[0-9]+
|
com[0-9]+
•
Example:
vehicle.ardupilot.serial_port.2.name = com42
Copyright © 2017, SPH Engineering