aboutsummaryrefslogtreecommitdiff
path: root/mavigator-uav/src/main/resources/reference.conf
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-02-24 20:29:30 -0800
committerJakob Odersky <jakob@odersky.com>2016-02-24 20:31:14 -0800
commita41de68066007852d7d3dbf019d75b4caf7463ad (patch)
treeb4446408291c9f179e1c270a561523023ac6a105 /mavigator-uav/src/main/resources/reference.conf
parent245faaf1e2ff4d0fbda292dbb35f4b49426d4380 (diff)
downloadmavigator-a41de68066007852d7d3dbf019d75b4caf7463ad.tar.gz
mavigator-a41de68066007852d7d3dbf019d75b4caf7463ad.tar.bz2
mavigator-a41de68066007852d7d3dbf019d75b4caf7463ad.zip
Major refactorings
Diffstat (limited to 'mavigator-uav/src/main/resources/reference.conf')
-rw-r--r--mavigator-uav/src/main/resources/reference.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/mavigator-uav/src/main/resources/reference.conf b/mavigator-uav/src/main/resources/reference.conf
new file mode 100644
index 0000000..3b43d37
--- /dev/null
+++ b/mavigator-uav/src/main/resources/reference.conf
@@ -0,0 +1,39 @@
+# Settings related to the connection with a UAV
+mavigator.uav {
+ # 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
+ # Mavlink component ID of the simulated UAV
+ remote_system_id = 0
+ # Divide simulated message frequency
+ prescaler = 1
+ }
+} \ No newline at end of file