Revert "Plane: default takeoff pitch to 15 deg for PPDS"

This reverts commit 210dac7356.

this was committed by mistake
This commit is contained in:
Andrew Tridgell 2022-12-24 13:26:31 +11:00
parent ec0b51dadd
commit 97e1c14114

View File

@ -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 = 1500;
auto_state.takeoff_pitch_cd = 400;
}
auto_state.takeoff_altitude_rel_cm = next_WP_loc.alt - home.alt;
next_WP_loc.lat = home.lat + 10;