background image

1.9

Communication with vehicle

9

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

1.9.1.2

Port baud rate

Optional.

Name:

[prefix].[port index].baud.[baud index] = [baud]

Description:

Baud rate for port opening. [baud index] is an optional arbitrary name used when it is necessary

to open the same serial port 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.ardupilot.serial_port.2.baud = 38400

1.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 expression] which can be used to define just a single port or create a port filtering regular expression.
Filter is case insensitive on Windows. [exclude index] is a arbitrary 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.9.1.4

Serial port arbiter

Optional.

Name:

[prefix].use_serial_arbiter = [yes

|

no]

Description:

Enable (yes) or disable (no) serial port access arbitration between VSMs running on the same

machine. It is recommended to have it enabled to avoid situation when multiple VSMs try to open the same
port simultaneously.

Default:

yes

Example:

vehicle.ardupilot.serial_port.use_serial_arbiter = no

1.9.2

TCP connection configuration

Optional. VSM which communicates with vehicles over TCP should define at least one network connection, other-
wise VSM will not try to connect to vehicles. [prefix] is unique for each VSM.

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: