From c3950aed2fdd105791863db7ca8c1c650f6af3af Mon Sep 17 00:00:00 2001 From: Henry Wurzburg Date: Sun, 6 Feb 2022 20:23:17 -0600 Subject: [PATCH] AP_Vehicle: extend nav_scripting to all modes --- libraries/AP_Vehicle/AP_Vehicle.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Vehicle/AP_Vehicle.h b/libraries/AP_Vehicle/AP_Vehicle.h index 370639929c..47bbf73d9f 100644 --- a/libraries/AP_Vehicle/AP_Vehicle.h +++ b/libraries/AP_Vehicle/AP_Vehicle.h @@ -204,6 +204,7 @@ public: // command throttle percentage and roll, pitch, yaw target // rates. For use with scripting controllers virtual bool set_target_throttle_rate_rpy(float throttle_pct, float roll_rate_dps, float pitch_rate_dps, float yaw_rate_dps) { return false; } + virtual bool nav_scripting_enable(uint8_t mode) {return false;} // get target location (for use by scripting) virtual bool get_target_location(Location& target_loc) { return false; }