From e78dab1d107e4a308b32eb788958d20379ee90d0 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 15 Sep 2018 14:34:20 +0900 Subject: [PATCH] Copter: remove OSD comments --- ArduCopter/ArduCopter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ArduCopter/ArduCopter.cpp b/ArduCopter/ArduCopter.cpp index 2d84d4b96d..6dbdd7d318 100644 --- a/ArduCopter/ArduCopter.cpp +++ b/ArduCopter/ArduCopter.cpp @@ -587,10 +587,8 @@ void Copter::update_altitude() void Copter::publish_osd_info() { AP_OSD::NavInfo nav_info; - //wp_distance: conversion needed from centimeters to meters nav_info.wp_distance = flightmode->wp_distance() * 1.0e-2f; nav_info.wp_bearing = flightmode->wp_bearing(); - //crosstrack_error: conversion needed from centimeters to meters nav_info.wp_xtrack_error = flightmode->crosstrack_error() * 1.0e-2f; nav_info.wp_number = mission.get_current_nav_index(); osd.set_nav_info(nav_info);