diff options
Diffstat (limited to 'mavigator-uav/src/main/resources/reference.conf')
-rw-r--r-- | mavigator-uav/src/main/resources/reference.conf | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/mavigator-uav/src/main/resources/reference.conf b/mavigator-uav/src/main/resources/reference.conf index 3b43d37..5e66de3 100644 --- a/mavigator-uav/src/main/resources/reference.conf +++ b/mavigator-uav/src/main/resources/reference.conf @@ -1,30 +1,25 @@ # 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 + type = serial # Settings related to serial connections serial { # Serial port - port = "/dev/ttyUSB0" + port = "/dev/ttyACM0" # Baud rate (b/s) - baud = 115200 + baud = 57600 # Use two stop bits two_stop_bits = false # Parity check # 0 = None, 1 = Odd, 2 = Even parity = 0 + + # Delay between detection of serial port and attempt to open it. + # Set this to provide time for the device to initialise. + connection_delay = 1000 } # Settings related to mock connections @@ -32,7 +27,7 @@ mavigator.uav { # Mavlink system ID of the simulated UAV remote_system_id = 42 # Mavlink component ID of the simulated UAV - remote_system_id = 0 + remote_component_id = 0 # Divide simulated message frequency prescaler = 1 } |