mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 23:19:33 +00:00
Create configspec_server.ini
This commit is contained in:
30
Server/config/spec/configspec_server.ini
Normal file
30
Server/config/spec/configspec_server.ini
Normal file
@@ -0,0 +1,30 @@
|
||||
config_name = string(default='Copter config')
|
||||
config_version = float(default='0.0')
|
||||
|
||||
[SERVER]
|
||||
port = integer(default=25000)
|
||||
buffer_size = integer(default=1024)
|
||||
|
||||
[COPTER_TABLE]
|
||||
# True -> clients are removed on disconnection
|
||||
# False -> disconnected clients indicated
|
||||
remove_disconnected = boolean(default=False)
|
||||
|
||||
[TABLE_CHECKS]
|
||||
battery_percentage_min = float(default=50.0, min=0, max=100)
|
||||
# in meters
|
||||
start_pos_delta_max = float(default=1.0, min=0)
|
||||
# in meters
|
||||
time_delta_max = float(default=1.0, min=0)
|
||||
|
||||
[BROADCAST]
|
||||
send = boolean(default=True)
|
||||
listen = boolean(default=True)
|
||||
port = integer(default=8181)
|
||||
# delay for message sending in seconds
|
||||
delay = float(default=5.0, min=0)
|
||||
|
||||
[NTP]
|
||||
use = boolean(default=False)
|
||||
host = string(default=ntp1.stratum2.ru)
|
||||
port = integer(default=123)
|
||||
Reference in New Issue
Block a user