mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: is_landing/is_taking_off not to req scripting
This commit is contained in:
parent
461671eaf3
commit
ecc517360f
|
@ -214,14 +214,14 @@ public:
|
|||
// returns true on success and control_value is set to a value in the range -1 to +1
|
||||
virtual bool get_control_output(AP_Vehicle::ControlOutput control_output, float &control_value) { return false; }
|
||||
|
||||
#endif // AP_SCRIPTING_ENABLED
|
||||
|
||||
// returns true if vehicle is in the process of landing
|
||||
virtual bool is_landing() const { return false; }
|
||||
|
||||
// returns true if vehicle is in the process of taking off
|
||||
virtual bool is_taking_off() const { return false; }
|
||||
|
||||
#endif // AP_SCRIPTING_ENABLED
|
||||
|
||||
// zeroing the RC outputs can prevent unwanted motor movement:
|
||||
virtual bool should_zero_rc_outputs_on_reboot() const { return false; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue