Add parameters for configuring the mavlink subsystem

MAV_SYS_ID - mavlink system id.
MAV_RATE_SLOW - rate of slow telemetry (e. g. heartbeats).
MAV_RATE_FAST - rate of fast telemetry (e. g. attitude, imu data).
This commit is contained in:
Oleg Kalachev
2026-01-22 23:04:45 +03:00
parent dd3575174b
commit 30326a5662
2 changed files with 33 additions and 32 deletions
+4
View File
@@ -87,6 +87,10 @@ Parameter parameters[] = {
{"WIFI_MODE", &wifiMode},
{"WIFI_LOC_PORT", &udpLocalPort},
{"WIFI_REM_PORT", &udpRemotePort},
// mavlink
{"MAV_SYS_ID", &mavlinkSysId},
{"MAV_RATE_SLOW", &telemetrySlow.rate},
{"MAV_RATE_FAST", &telemetryFast.rate},
};
void setupParameters() {