Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Hybrid_AttitudeEstimation Hybrid_main_FirstEdtion rocket_logger_sinkan2018_v1 HYBRYD2018_IZU_ROCKET ... more
Fork of mpu9250_i2c by
Revision 16:bea48f4ac712, committed 2017-12-06
- 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);
/**
