Copter: clarify takeoff comments

This commit is contained in:
Peter Barker 2018-06-26 13:31:40 +10:00 committed by Peter Barker
parent 22f7f29045
commit 87f8e523de

View File

@ -133,7 +133,16 @@ protected:
float &G_Dt;
ap_t ≈
// auto-takeoff support; takeoff state is shared across all mode instances
// note that we support two entirely different automatic takeoffs:
// "user-takeoff", which is available in modes such as ALT_HOLD
// (see has_user_takeoff method). "user-takeoff" is a simple
// reach-altitude-based-on-pilot-input-or-parameter routine.
// "auto-takeoff" is used by both Guided and Auto, and is
// basically waypoint navigation with pilot yaw permitted.
// user-takeoff support; takeoff state is shared across all mode instances
class _TakeOff {
public:
void start(float alt_cm);
@ -154,7 +163,6 @@ protected:
static void takeoff_stop() { takeoff.stop(); }
// takeoff support
virtual bool do_user_takeoff_start(float takeoff_alt_cm);
// method shared by both Guided and Auto for takeoff. This is