Rover: minor comment fix

This commit is contained in:
Randy Mackay 2017-09-18 16:45:13 +09:00
parent de406da254
commit 4899401679
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ void Rover::send_location(mavlink_channel_t chan)
current_loc.lat, // in 1E7 degrees current_loc.lat, // in 1E7 degrees
current_loc.lng, // in 1E7 degrees current_loc.lng, // in 1E7 degrees
current_loc.alt * 10UL, // millimeters above sea level 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.x * 100, // X speed cm/s (+ve North)
vel.y * 100, // Y speed cm/s (+ve East) vel.y * 100, // Y speed cm/s (+ve East)
vel.z * -100, // Z speed cm/s (+ve up) vel.z * -100, // Z speed cm/s (+ve up)