mavlink : send camera_image_captured message

This commit is contained in:
Mohammed Kabir
2017-05-12 22:11:17 +02:00
committed by Lorenz Meier
parent b665737aca
commit 192e8b48d1
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1544,7 +1544,7 @@ protected:
msg.lat = capture.lat * 1e7;
msg.lon = capture.lon * 1e7;
msg.alt = capture.alt * 1e3f;
msg.relative_alt = capture.relative_alt * 1e3f;
msg.relative_alt = capture.ground_distance * 1e3f;
msg.q[0] = capture.q[0];
msg.q[1] = capture.q[1];
msg.q[2] = capture.q[2];