From a0bd460f7f901d48d111511d9e7c2d92aaac0fa2 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Tue, 30 Oct 2012 11:19:10 +0100 Subject: update rate --- sensors/gyroscope.vala | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sensors/gyroscope.vala') diff --git a/sensors/gyroscope.vala b/sensors/gyroscope.vala index 07452ec..1ef10b2 100644 --- a/sensors/gyroscope.vala +++ b/sensors/gyroscope.vala @@ -14,16 +14,7 @@ */ public interface Gyroscope : Device { -#if 0 - double[] rate = {0.0, 0.0, 0.0}; - int[] zero = {0, 0, 0}; - long[] sample = {0, 0, 0}; - double smoothFactor = 1.0; - double scaleFactor = 0.0; - double heading = 0.0; - ulong gyroLastMesuredTime = 0; -#endif public abstract void init(KeyFile cfg) throws Error; public abstract void get_data(out double x, out double y, out double z) throws I2CError; - public abstract int[] rate { get; set; } + public abstract double[] rate { get; set; } } -- cgit v1.2.3