From a41ff2375b825229f55cfc575472d8ac5cc2e9d1 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 12 Jan 2015 20:41:28 +0900 Subject: [PATCH] Mount_Backend: add set_mode virtual method --- libraries/AP_Mount/AP_Mount_Backend.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Mount/AP_Mount_Backend.h b/libraries/AP_Mount/AP_Mount_Backend.h index 76f731a489..c3fdaf2d7d 100644 --- a/libraries/AP_Mount/AP_Mount_Backend.h +++ b/libraries/AP_Mount/AP_Mount_Backend.h @@ -46,6 +46,9 @@ public: // has_pan_control - returns true if this mount can control it's pan (required for multicopters) virtual bool has_pan_control() const = 0; + // set_mode - sets mount's mode + virtual void set_mode(enum MAV_MOUNT_MODE mode) = 0; + // set_roi_target - sets target location that mount should attempt to point towards virtual void set_roi_target(const struct Location &target_loc) = 0;