From f563930275762c0ada2fad1c144a71de72deeb3c Mon Sep 17 00:00:00 2001 From: "joeholdsworth@gmail.com" Date: Sun, 21 Aug 2011 18:48:28 +0000 Subject: [PATCH] git-svn-id: https://arducopter.googlecode.com/svn/trunk@3140 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_Payload/AP_Mount.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libraries/AP_Payload/AP_Mount.h b/libraries/AP_Payload/AP_Mount.h index 46e9e40eb5..31bd7f1b07 100644 --- a/libraries/AP_Payload/AP_Mount.h +++ b/libraries/AP_Payload/AP_Mount.h @@ -41,9 +41,18 @@ public: landing = 5, none = 6 }; + + enum MountType{ + pitch_yaw = 0, + pitch_roll = 1, //note the correct english spelling :) + pitch_roll_yaw = 2, + }; //Accessors //used with dcm matrix to calculate target vector + void SetPitchYaw(); + void SetPitchRoll(); + void SetPitchRollYaw(); void SetGPSTarget(Location targetGPSLocation); //used to tell the mount to track GPS location void SetAssisted(int roll, int pitch, int yaw); void SetAntenna(Location grndStation);