diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-10-30 11:19:10 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-10-30 11:19:10 +0100 |
commit | a0bd460f7f901d48d111511d9e7c2d92aaac0fa2 (patch) | |
tree | f8278ea6dfc91ed40184d57de9d4f1a3e98a737d /sensors/gyroscope.vala | |
parent | 7a65e7f29e526e99636438bbb529f87bf87b8c66 (diff) | |
download | microcopterd-a0bd460f7f901d48d111511d9e7c2d92aaac0fa2.tar.bz2 |
update rate
Diffstat (limited to 'sensors/gyroscope.vala')
-rw-r--r-- | sensors/gyroscope.vala | 11 |
1 files changed, 1 insertions, 10 deletions
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; } } |