AP_Vehicle: added set_land_descent_rate scripting method

This commit is contained in:
Andrew Tridgell 2023-01-17 17:37:30 +11:00
parent b3de3364e2
commit 510d979b79

View File

@ -189,6 +189,9 @@ public:
// returns true if the EKF failsafe has triggered
virtual bool has_ekf_failsafed() const { return false; }
// allow for landing descent rate to be overridden by a script, may be -ve to climb
virtual bool set_land_descent_rate(float descent_rate) { return false; }
// control outputs enumeration
enum class ControlOutput {
Roll = 1,