From 3a4b3d094a07d41c84efabdc134763bec9372597 Mon Sep 17 00:00:00 2001 From: Johan Jansen Date: Tue, 6 Jan 2015 11:53:47 +0100 Subject: LandDetector: Removed commented debug info --- src/modules/mc_land_detector/MulticopterLandDetector.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/modules') diff --git a/src/modules/mc_land_detector/MulticopterLandDetector.cpp b/src/modules/mc_land_detector/MulticopterLandDetector.cpp index 39064de6b..63dc54d5e 100644 --- a/src/modules/mc_land_detector/MulticopterLandDetector.cpp +++ b/src/modules/mc_land_detector/MulticopterLandDetector.cpp @@ -143,16 +143,6 @@ void MulticopterLandDetector::landDetectorLoop() _landTimer = now; } else { - /* - static int debugcnt = 0; - if(debugcnt++ > 12) { - debugcnt = 0; - mavlink_log_critical(_mavlinkFd, "T: %.4f R: %.4f", (double)_actuators.control[3], - sqrt( _sensors.gyro_rad_s[0]*_sensors.gyro_rad_s[0]+ - _sensors.gyro_rad_s[1]*_sensors.gyro_rad_s[1]+ - _sensors.gyro_rad_s[2]*_sensors.gyro_rad_s[2])); - } - */ //Check if we are moving vertically bool verticalMovement = fabsf(_vehicleGlobalPosition.vel_d) > MC_LAND_DETECTOR_CLIMBRATE_MAX; -- cgit v1.2.3