aboutsummaryrefslogtreecommitdiff
path: root/mavigator-server/src/main/resources/application.conf
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-12-28 11:54:00 +0100
committerJakob Odersky <jakob@odersky.com>2016-01-29 13:50:37 -0800
commit4f4c799a6d9ccf333a3e609a2464e2f317875af7 (patch)
tree599232dd8c97fa9eb8f3426ea4375216ecadb386 /mavigator-server/src/main/resources/application.conf
parentc77bf21e7f4c197d34d23b2aebe5953a75d099e2 (diff)
downloadmavigator-4f4c799a6d9ccf333a3e609a2464e2f317875af7.tar.gz
mavigator-4f4c799a6d9ccf333a3e609a2464e2f317875af7.tar.bz2
mavigator-4f4c799a6d9ccf333a3e609a2464e2f317875af7.zip
Rename project and update dependencies
Diffstat (limited to 'mavigator-server/src/main/resources/application.conf')
-rw-r--r--mavigator-server/src/main/resources/application.conf51
1 files changed, 51 insertions, 0 deletions
diff --git a/mavigator-server/src/main/resources/application.conf b/mavigator-server/src/main/resources/application.conf
new file mode 100644
index 0000000..28511ad
--- /dev/null
+++ b/mavigator-server/src/main/resources/application.conf
@@ -0,0 +1,51 @@
+mavigator {
+
+ # Interface to listen for client connections
+ interface = "0.0.0.0"
+
+ # Port on which to listen for client connections
+ port = 8080
+
+ # Mavlink system ID identifying this base station
+ system_id = 1
+
+ # Settings related to the connection with a UAV
+ connection {
+
+ # The type of connection to use
+ # 'mock' or 'serial'
+ type = mock
+
+ # Mavlink component ID used by this connection,
+ # in case it needs to inject messages. I.e. heartbeats
+ # will originate from this ID.
+ component_id = 1
+
+ # Interval in milliseconds between heartbeat messages injected by
+ # the connection
+ # 0 = no heartbeats injected
+ heartbeat = 2000
+
+ # Settings related to serial connections
+ serial {
+ # Serial port
+ port = "/dev/ttyUSB0"
+ # Baud rate (b/s)
+ baud = 115200
+ # Use two stop bits
+ two_stop_bits = false
+ # Parity check
+ # 0 = None, 1 = Odd, 2 = Even
+ parity = 0
+ }
+
+ # Settings related to mock connections
+ mock {
+ # Mavlink system ID of the simulated UAV
+ remote_system_id = 42
+ # Speed multiplier of simulation
+ prescaler = 1
+ }
+ }
+
+} \ No newline at end of file