background image

6

CONTENTS

Example:

vehicle.ardrone.detector.1.udp_local_address = 0.0.0.0

vehicle.ardrone.detector.1.udp_local_port = 14550

vehicle.ardrone.detector.1.udp_address = 192.168.1.1

vehicle.ardrone.detector.1.udp_port = 14551

1.7.3

Model name and serial number override

Optional.

Name:

vehicle.ardrone.custom.[name].system_id = [system id]

Name:

vehicle.ardrone.custom.[name].model_name = [model name]

Name:

vehicle.ardrone.custom.[name].serial_number = [serial number]

Description:

In U[g]CS each vehicle is identified by a unique combination of model name and serial number

represented as text strings. By default, Ar.Drone vehicles are identified with a model name Ar.Drone and serial
number equal with the Mavlink system id read from the vehicle. It can be overridden by these parameters,
where [name] is an arbitrary vehicle name, [system id] is the original Mavlink system id which should be
overridden, [model name] is a new model name to be visible to the U[g]CS, [serial number] is a new serial
number to be visible to the U[g]CS.

Example:

vehicle.ardrone.custom.my_drone.system_id = 2

vehicle.ardrone.custom.my_drone.model_name = AR.drone 2.0

vehicle.ardrone.custom.my_drone.serial_number = 123456

1.8

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.8.1

UgCS server configuration

1.8.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

Copyright © 2015, Smart Projects Holdings Ltd

Summary of Contents for Parrot VSM

Page 1: ...Parrot AR Drone VSM User Guide UgCS 2 9 1230 Copyright 2015 Smart Projects Holdings Ltd...

Page 2: ...Common parameters 5 1 7 2 UDP connection configuration 5 1 7 3 Model name and serial number override 6 1 8 Common configuration file parameters 6 1 8 1 UgCS server configuration 6 1 8 2 Logging confi...

Page 3: ...work after power cycling the Ar Drone E g after battery change This is because it can take significant time until OS reconnects to the WiFi automatically ArDrone does not support multiple controllers...

Page 4: ...non standard vehicle reconfiguration Community written instructions about how to do it exist but they are not officially supported by AR Drone manufacturer Parrot The easiest way how to connect multip...

Page 5: ...rone custom my_drone model_name AR drone 2 0 vehicle ardrone custom my_drone serial_number 1 And these lines to the second one vehicle ardrone custom my_drone system_id 1 vehicle ardrone custom my_dro...

Page 6: ...ning quality is very poor if the flight is started instantly after powering on the drone ArDrone will not accept missions where any waypoint is lower than ground elevation at base location It is not a...

Page 7: ...omputer which has direct Wi Fi connection to AR Drone 1 7 Configuration file Default configuration file of the AR Drone VSM suits most needs and it is generally not necessary to modify it Configuratio...

Page 8: ...al number is a new serial number to be visible to the U g CS Example vehicle ardrone custom my_drone system_id 2 vehicle ardrone custom my_drone model_name AR drone 2 0 vehicle ardrone custom my_drone...

Page 9: ...ng file is not defined File should be writable Backslash should be escaped with a backslash Example log file var opt ugcs log vsm ardupilot vsm ardupilot log Example log file C Users John AppData Loca...

Page 10: ...tic 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_n...

Page 11: ...9 1 3 Excluded port name Optional Name prefix exclude exclude index regular expression Description Ports which should not be used for vehicle access by this VSM Port names are defined by a regular ex...

Page 12: ...nect to vehicles prefix is unique for each VSM 1 9 3 1 Local IP address for UDP Optional Name prefix detector con index udp_local_address IP address Description Local IP address to listen for incoming...

Page 13: ...Specify local or remote address Example vehicle ardupilot tcp 1 proxy 127 0 0 1 1 9 4 2 TCP port for proxy Optional Name prefix tcp con index port port number Description TCP port to be connected wit...

Reviews: