Plane: init hold_course in do_takeoff

This commit is contained in:
Tom Pittenger 2015-09-08 01:06:19 -07:00 committed by Andrew Tridgell
parent 25da4ec0ea
commit d36ee786e4

View File

@ -329,6 +329,7 @@ void Plane::do_takeoff(const AP_Mission::Mission_Command& cmd)
// zero locked course
steer_state.locked_course_err = 0;
steer_state.hold_course_cd = -1;
}
void Plane::do_nav_wp(const AP_Mission::Mission_Command& cmd)