background image

1.8

Common configuration file parameters

7

1.8.2

Logging configuration

1.8.2.1

Level

Optional.

Name:

log.level = [error

|

warning

|

info

|

debug]

Description:

Logging level.

Default:

info

Example:

log.level = debug

1.8.2.2

File path

Optional.

Name:

log.file_path = [path to a file]

Description:

Absolute or relative (to the current directory) path to a logging file. Logging is disabled if logging

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\\Local\\UGCS\\logs\\vsm-ardupilot\\vsm-ardupilot.log

1.8.2.3

Maximum single file size

Optional.

Name:

log.single_max_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 defined as a number
postfixed by a case insensitive multiplier:

Gb, G, Gbyte, Gbytes: for Giga-bytes

Mb, M, Mbyte, Mbytes: for Mega-bytes

Kb, K, Kbyte, Kbytes: for Kilo-bytes

no postfix: for bytes

Default:

100 Mb

Example:

log.single_max_size = 500 Mb

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

Copyright © 2015, Smart Projects Holdings Ltd

Содержание AR.Drone 2.0

Страница 1: ...Parrot AR Drone VSM User Guide UgCS 2 7 125 Copyright 2015 Smart Projects Holdings Ltd...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: