From 69e81587e2d361a106201f310f1c35f8856b0c42 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sun, 10 Nov 2013 21:05:33 +0900 Subject: [PATCH] TradHeli: add accessor for phase_angle --- libraries/AP_Motors/AP_MotorsHeli.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Motors/AP_MotorsHeli.h b/libraries/AP_Motors/AP_MotorsHeli.h index 51492eb24d..fca13eaf75 100644 --- a/libraries/AP_Motors/AP_MotorsHeli.h +++ b/libraries/AP_Motors/AP_MotorsHeli.h @@ -186,6 +186,9 @@ public: // recalc_scalers - recalculates various scalers used. Should be called at about 1hz to allow users to see effect of changing parameters void recalc_scalers(); + // get_phase_angle - returns phase angle + int16_t get_phase_angle() { return _phase_angle; } + // var_info for holding Parameter information static const struct AP_Param::GroupInfo var_info[];