From 48994016796578446e37acff31e417dc734e7557 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 18 Sep 2017 16:45:13 +0900 Subject: [PATCH] Rover: minor comment fix --- APMrover2/GCS_Mavlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APMrover2/GCS_Mavlink.cpp b/APMrover2/GCS_Mavlink.cpp index 5160cbc2e2..46d0758cff 100644 --- a/APMrover2/GCS_Mavlink.cpp +++ b/APMrover2/GCS_Mavlink.cpp @@ -121,7 +121,7 @@ void Rover::send_location(mavlink_channel_t chan) current_loc.lat, // in 1E7 degrees current_loc.lng, // in 1E7 degrees current_loc.alt * 10UL, // millimeters above sea level - (current_loc.alt - home.alt) * 10, // millimeters above ground + (current_loc.alt - home.alt) * 10, // millimeters above home vel.x * 100, // X speed cm/s (+ve North) vel.y * 100, // Y speed cm/s (+ve East) vel.z * -100, // Z speed cm/s (+ve up)