diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-10-14 22:43:16 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-10-14 22:43:16 +0200 |
commit | eb440fbdd480af0c071b43a3bbc46c23ff40a6dd (patch) | |
tree | 95522b064fdb9f133eba0ddcb588af29bfda5a1a /sensors/gyroscope.vala | |
parent | 25ac6a9d3096ec740db3102a6a2ca33b20d6b1c5 (diff) | |
download | microcopterd-eb440fbdd480af0c071b43a3bbc46c23ff40a6dd.tar.bz2 |
normalize gyro data
Diffstat (limited to 'sensors/gyroscope.vala')
-rw-r--r-- | sensors/gyroscope.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors/gyroscope.vala b/sensors/gyroscope.vala index 8cdc0cd..07452ec 100644 --- a/sensors/gyroscope.vala +++ b/sensors/gyroscope.vala @@ -24,6 +24,6 @@ public interface Gyroscope : Device { ulong gyroLastMesuredTime = 0; #endif public abstract void init(KeyFile cfg) throws Error; - public abstract void get_data(out int16 x, out int16 y, out int16 z) throws I2CError; + public abstract void get_data(out double x, out double y, out double z) throws I2CError; public abstract int[] rate { get; set; } } |