summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.vala b/main.vala
index f619642..98a1eea 100644
--- a/main.vala
+++ b/main.vala
@@ -32,6 +32,8 @@ bool loop() {
accelerometer.get_data(out ax, out ay, out az);
compass.get_data(out mx, out my, out mz);
+ log("MainLoop", LogLevelFlags.LEVEL_DEBUG, @"sensors: GYRO: $gx $gy $gz, ACCEL: $ax $ay $az, COMPASS: $mx $my $mz");
+
/* calculate kinematics (TODO: calculate time diff) */
kinematics.update(gx, gy, gz, ax, ay, az, mx, my, mz, 0.1);