Browse Source

Copter: clarify takeoff comments

mission-4.1.18
Peter Barker 7 years ago committed by Peter Barker
parent
commit
87f8e523de
  1. 12
      ArduCopter/mode.h

12
ArduCopter/mode.h

@ -133,7 +133,16 @@ protected: @@ -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: @@ -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

Loading…
Cancel
Save