mpu9250のライブラリ、I2Cを利用。

Dependents:   Hybrid_AttitudeEstimation Hybrid_main_FirstEdtion rocket_logger_sinkan2018_v1 HYBRYD2018_IZU_ROCKET ... more

Fork of mpu9250_i2c by Gaku Matsumoto

Files at this revision

API Documentation at this revision

Comitter:
Gaku0606
Date:
Wed Dec 06 13:11:39 2017 +0000
Parent:
15:d8b263a8138e
Commit message:
setOffset?????

Changed in this revision

mpu9250_i2c.h Show annotated file Show diff for this revision Revisions of this file
--- a/mpu9250_i2c.h	Wed Dec 06 13:07:09 2017 +0000
+++ b/mpu9250_i2c.h	Wed Dec 06 13:11:39 2017 +0000
@@ -175,8 +175,8 @@
      *    @param  mx,my,mz    地磁気のオフセット
      *    @note  とても重要です.地磁気は定期的にキャリブレーションをしてください.ちなみに,これらの値は測定値より引かれています.
      */
-    void setOffset(float ax = 0.0f, float ay = 0.0f, float az = 0.0f,
-                   float gx = 0.0f, float gy = 0.0f, float gz = 0.0f,
+    void setOffset(float gx = 0.0f, float gy = 0.0f, float gz = 0.0f,
+                   float ax = 0.0f, float ay = 0.0f, float az = 0.0f,
                    float mx = 0.0f, float my = 0.0f, float mz = 0.0f);
 
     /**