From 43034922e24691e74515b2bcd8a82d59bcf72972 Mon Sep 17 00:00:00 2001 From: Michael Schaeuble Date: Thu, 15 Nov 2018 16:22:43 +0100 Subject: [PATCH] Mavlink: Incorporate changes in UTM_GLOBAL_POSITION message --- src/modules/mavlink/mavlink_messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mavlink/mavlink_messages.cpp b/src/modules/mavlink/mavlink_messages.cpp index 55bf66d207..b4f93a7603 100644 --- a/src/modules/mavlink/mavlink_messages.cpp +++ b/src/modules/mavlink/mavlink_messages.cpp @@ -1817,7 +1817,7 @@ protected: msg.flags |= UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE; } - msg.vel_acc = sqrtf(evh * evh + evv * evv) * 1000.0f; + msg.vel_acc = sqrtf(evh * evh + evv * evv) * 100.0f; if (_local_position.dist_bottom_valid) { msg.relative_alt = _local_position.dist_bottom * 1000.0f;