background image

8

CONTENTS

1.8.2.4

Maximum number of old log files

Optional.

Name:

log.max_file_count = [number]

Description:

Log rotation feature. Maximum number of old log files to keep. After reaching single_max_size

of current log file VSM will rename it with current time in extension and start new one. VSM will delete older
logs so the number of old logs does not exceed the max_file_count.

Default:

1

Example:

log.max_file_count = 5

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

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

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: