background image

6

CONTENTS

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

1.8.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 © 2015, Smart Projects Holdings Ltd

Summary of Contents for AR.Drone 2.0

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

Page 2: ...5 1 7 Configuration file 5 1 7 1 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 co...

Page 3: ...It is recommended to manually reconnect to ArDrone WiFi network 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...

Page 4: ...e vehicles to the same computer without doing non standard vehicle reconfiguration Community written instructions about how to do it exist but they are not officially supported by AR Drone manufacture...

Page 5: ...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_drone model_name AR drone 2 0 vehicle ardrone custom my_drone s...

Page 6: ...ny waypoint is lower than ground elevation at base location It is not able to fly below starting point 1 3 Command execution specifics Command Support Notes ARM No DISARM No AUTOMODE No MANUALMODE No...

Page 7: ...ify it Configuration file location On Microsoft Windows C Program Files x86 UgCS bin vsm ardrone conf On GNU Linux etc opt ugcs vsm ardrone conf On Apple OS X Users user name Library Application Suppo...

Page 8: ...al_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 ardupi...

Page 9: ...x_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 be defi...

Page 10: ...using multiple baud rates port index is an arbitrary port indexing name Example vehicle ardupilot serial_port 1 baud 1 9600 Example vehicle ardupilot serial_port 1 baud 2 57600 Example vehicle ardupi...

Page 11: ...listen for incoming packets on Example vehicle ardrone detector 1 udp_local_port 14550 1 8 4 3 Remote IP address for UDP Optional Name prefix detector con index udp_address IP address Description Rem...

Page 12: ...ex proxy IP address Description IP address to connect proxy to Specify local or remote address Example vehicle ardupilot tcp 1 proxy 127 0 0 1 1 8 7 2 TCP port for proxy Optional Name prefix tcp con i...

Reviews: