Improve use of MAVSDK::add_any_connection()

Added error printing and possibility to use UART as connection
to the flight controller.

Issue: https://denyspopov.atlassian.net/browse/AZ-16
Type: New Feature
This commit is contained in:
Tuomas Järvinen
2024-05-20 21:02:32 +02:00
parent dda897a573
commit ab791eb254
6 changed files with 28 additions and 16 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
#pragma once
#define FUNCTION_NAME(func) func()
const char *AZ_CONNECTION = "udp://:14550";
const char *AZ_CONNECTION_SERIAL = "serial:///dev/ttyS0:115200";
const char *AZ_CONNECTION_UDP = "udp://:14550";
const int AZ_RELATIVE_FLY_ALTITUDE = 50;