aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Jansen <jnsn.johan@gmail.com>2015-01-06 11:53:47 +0100
committerJohan Jansen <jnsn.johan@gmail.com>2015-01-15 14:37:50 +0100
commit3a4b3d094a07d41c84efabdc134763bec9372597 (patch)
tree2fcad7a0a45623058869016a00fcac94aa640314
parent051a6972281dc9f8c15b5d8c73ac808416944932 (diff)
downloadpx4-firmware-3a4b3d094a07d41c84efabdc134763bec9372597.tar.gz
px4-firmware-3a4b3d094a07d41c84efabdc134763bec9372597.tar.bz2
px4-firmware-3a4b3d094a07d41c84efabdc134763bec9372597.zip
LandDetector: Removed commented debug info
-rw-r--r--src/modules/mc_land_detector/MulticopterLandDetector.cpp10
1 files changed, 0 insertions, 10 deletions
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;