summaryrefslogtreecommitdiff
path: root/altoslib/AltosIMU.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-06-02 19:42:47 -0700
committerKeith Packard <keithp@keithp.com>2012-06-02 19:42:47 -0700
commitdd43a2ae7594f062a8980d1756a07488ee54b447 (patch)
tree9bb9887e03f3f2e8cda171fee2a9dc6f220dcbc1 /altoslib/AltosIMU.java
parent0772020c969a69c3b0a705de7362340a9732daab (diff)
altoslib: Move new sensor library code into altoslib
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosIMU.java')
-rw-r--r--altoslib/AltosIMU.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/altoslib/AltosIMU.java b/altoslib/AltosIMU.java
new file mode 100644
index 00000000..88e36544
--- /dev/null
+++ b/altoslib/AltosIMU.java
@@ -0,0 +1,29 @@
+/*
+ * Copyright © 2012 Keith Packard <keithp@keithp.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+package altoslib;
+
+public class AltosIMU {
+ public int accel_x;
+ public int accel_y;
+ public int accel_z;
+
+ public int gyro_x;
+ public int gyro_y;
+ public int gyro_z;
+}
+ \ No newline at end of file