From 210dac73567a0c1ab55552c31953cd286ade5f34 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 Oct 2022 11:07:55 +1100 Subject: [PATCH] Plane: default takeoff pitch to 15 deg for PPDS --- ArduPlane/commands_logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/commands_logic.cpp b/ArduPlane/commands_logic.cpp index 4d003e967f..3972ab7e72 100644 --- a/ArduPlane/commands_logic.cpp +++ b/ArduPlane/commands_logic.cpp @@ -370,7 +370,7 @@ void Plane::do_takeoff(const AP_Mission::Mission_Command& cmd) auto_state.takeoff_pitch_cd = (int16_t)cmd.p1 * 100; if (auto_state.takeoff_pitch_cd <= 0) { // if the mission doesn't specify a pitch use 4 degrees - auto_state.takeoff_pitch_cd = 400; + auto_state.takeoff_pitch_cd = 1500; } auto_state.takeoff_altitude_rel_cm = next_WP_loc.alt - home.alt; next_WP_loc.lat = home.lat + 10;