AP_Vehicle: is_landing/is_taking_off not to req scripting

This commit is contained in:
Tom Pittenger 2023-06-26 11:06:59 -07:00 committed by Tom Pittenger
parent 461671eaf3
commit ecc517360f
1 changed files with 2 additions and 2 deletions

View File

@ -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; }