aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_pos_control_l1
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-09-03 12:36:44 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-09-03 12:36:44 +0200
commit484f2864d188fa04cbbbd767278b547b7f9969af (patch)
treef74d7134528d256b0406db092823e9f3ba12028c /src/modules/fw_pos_control_l1
parent7f0ba70b1e8e86334d1acb827d8d2d4bf7305870 (diff)
downloadpx4-firmware-484f2864d188fa04cbbbd767278b547b7f9969af.tar.gz
px4-firmware-484f2864d188fa04cbbbd767278b547b7f9969af.tar.bz2
px4-firmware-484f2864d188fa04cbbbd767278b547b7f9969af.zip
remove warnx
Diffstat (limited to 'src/modules/fw_pos_control_l1')
-rw-r--r--src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
index 0db857727..6e06b2b78 100644
--- a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
+++ b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
@@ -994,7 +994,6 @@ FixedwingPositionControl::control_position(const math::Vector<2> &current_positi
flare_curve_alt_rel = 0.0f; // stay on ground
land_stayonground = true;
}
- warnx("flare: alt %4.3f, sp %4.3f", (double)_global_pos.alt, (double)(terrain_alt + flare_curve_alt_rel));
tecs_update_pitch_throttle(terrain_alt + flare_curve_alt_rel,
calculate_target_airspeed(airspeed_land), eas2tas,
@@ -1036,8 +1035,6 @@ FixedwingPositionControl::control_position(const math::Vector<2> &current_positi
_global_pos.alt - terrain_alt;
}
- warnx("approach: alt %4.3f, sp %4.3f", (double)_global_pos.alt, (double)(terrain_alt + altitude_desired_rel));
-
tecs_update_pitch_throttle(terrain_alt + altitude_desired_rel,
calculate_target_airspeed(airspeed_approach), eas2tas,
math::radians(_parameters.pitch_limit_min),