Mavlink: Incorporate changes in UTM_GLOBAL_POSITION message

This commit is contained in:
Michael Schaeuble
2018-11-15 16:22:43 +01:00
committed by Lorenz Meier
parent a154282fef
commit 43034922e2

View File

@@ -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;