{"id":346,"date":"2019-01-21T01:32:06","date_gmt":"2019-01-20T16:32:06","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=346"},"modified":"2019-01-21T01:32:06","modified_gmt":"2019-01-20T16:32:06","slug":"%e6%96%b9%e4%bd%8d%e8%a7%92%e3%82%92%e5%9f%ba%e3%81%ab%e7%94%bb%e5%83%8f%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%95%e3%81%9b%e3%81%9f%e3%81%84%e2%91%a1","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2019\/01\/21\/346\/","title":{"rendered":"\u65b9\u4f4d\u89d2\u3092\u57fa\u306b\u753b\u50cf\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u2461"},"content":{"rendered":"<h2>\u3053\u3093\u304c\u3089\u304c\u308b<\/h2>\n<p>\u4e0a\u624b\u304f\u3044\u304b\u3093\u306a\u30fc\u3002<\/p>\n<h3>Matrix.setRotate\u2192\u65b0\u305f\u306bBitmap\u4f5c\u308b\u3001\u3060\u3068\u753b\u50cf\u304c\u52dd\u624b\u306b\u7e2e\u5c0f\u3055\u308c\u308b<\/h3>\n<p>\u4f8b\u3048\u3070\u659c\u3081\u3068\u304b\u306b\u306a\u3063\u305f\u6642\u3001\u524d\u306e\u30b3\u30fc\u30c9\u3060\u3068\u5bfe\u89d2\u7dda\u306e\u9577\u3055\u304c\u7e26\u6a2a\u306e\u9577\u3055\u306b\u7e2e\u3081\u3089\u308c\u308b\u3093\u3060\u304b\u3089\u3001\u5f53\u305f\u308a\u524d\u3063\u3061\u3083\u5f53\u305f\u308a\u524d\u306a\u306e\u304b\u3002\u8a08\u7b97\u3067\u3042\u308c\u3053\u308c\u3084\u308c\u3070\u305d\u308c\u8fbc\u307f\u3067\u8868\u793a\u3055\u305b\u308c\u305d\u3046\u3060\u3051\u3069\u3088\u304f\u5206\u304b\u3093\u306a\u3044\u3002\u3067\u3001ImageView\u306bsetRotation\u306a\u308b\u3082\u306e\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u305f\u3002<\/p>\n<pre>imageView.setPivotX(imageView.getWidth()\/2);\r\nimageView.setPivotY(imageView.getHeight()\/2);\r\nimageView.setRotation(azimuth);<\/pre>\n<p>setPivotX,setPivotY\u3067\u4e2d\u5fc3\u70b9\u3092\u6307\u5b9a\u3057\u3066\u3001setRotation\u3067\u89d2\u5ea6\u3092\u6307\u5b9a\u3057\u3066\u3042\u3052\u308b\u3068\u3001\u7e2e\u5c0f\u305b\u305a\u306b\u56de\u8ee2\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u308f\u30fc\u3044\u3002<\/p>\n<h4>\u53c2\u8003<\/h4>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/7437732\/android-rotatable-imageview\">https:\/\/stackoverflow.com\/questions\/7437732\/android-rotatable-imageview<\/a><\/p>\n<h3>\u7d50\u5c40\u3001\u78c1\u6c17\u30bb\u30f3\u30b5\u30fc\u306e\u8f03\u6b63\u30fb\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u3063\u3066\u5fc5\u8981\u306a\u306e\u304b<\/h3>\n<p>\u3053\u3053\u3089\u3078\u3093\u3042\u3084\u3075\u3084\u3060\u3057\u5168\u7136\u5206\u304b\u3089\u3093\u3002\u30bb\u30f3\u30b5\u30fc\u306e\u5024\u306b\u306f\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3067\u306e\u5024\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306e\u7d44\u307f\u8fbc\u307f\u30bd\u30d5\u30c8\u5185\u3067\u306e\u8f03\u6b63\u5024\u3001\u30b9\u30de\u30db\u7aef\u672b\u3067\u306e\u53d6\u5f97\u5024\u3001\u30b9\u30de\u30db\u7aef\u672b\u3067\u306e\u8f03\u6b63\u5024\u3068\u3001\u5c11\u306a\u304f\u3068\u3082\u3053\u308c\u3050\u3089\u3044\u306e\u7a2e\u985e\u306e\u5024\u304c\u3042\u308b\u3002\u3067\u3001AndroidDeveloper\u898b\u308b\u3068\u3001TYPE_MAGNETIC_FIELD\u3068TYPE_MAGNETIC_FIELD_UNCALIBRATED\u3068\u5730\u78c1\u6c17\u30bb\u30f3\u30b5\u30fc\u306e\u5024\u306f2\u3064\u3042\u308b\u3002<\/p>\n<blockquote>\n<h4><code><a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/Sensor.html#TYPE_MAGNETIC_FIELD\">Sensor.TYPE_MAGNETIC_FIELD<\/a><\/code>:<\/h4>\n<p>All values are in micro-Tesla (uT) and measure the ambient magnetic field in the X, Y and Z axis.<\/p><\/blockquote>\n<blockquote>\n<h4><code><a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/Sensor.html#TYPE_MAGNETIC_FIELD_UNCALIBRATED\">Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED<\/a><\/code>:<\/h4>\n<p>Similar to\u00a0<code><a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/Sensor.html#TYPE_MAGNETIC_FIELD\">Sensor.TYPE_MAGNETIC_FIELD<\/a><\/code>, but the hard iron calibration is reported separately instead of being included in the measurement. Factory calibration and temperature compensation will still be applied to the &#8220;uncalibrated&#8221; measurement. Assumptions that the magnetic field is due to the Earth&#8217;s poles is avoided.<\/p>\n<p>The values array is shown below:<\/p>\n<ul>\n<li>values[0] = x_uncalib<\/li>\n<li>values[1] = y_uncalib<\/li>\n<li>values[2] = z_uncalib<\/li>\n<li>values[3] = x_bias<\/li>\n<li>values[4] = y_bias<\/li>\n<li>values[5] = z_bias<\/li>\n<\/ul>\n<p>x_uncalib, y_uncalib, z_uncalib are the measured magnetic field in X, Y, Z axes. Soft iron and temperature calibrations are applied. But the hard iron calibration is not applied. The values are in micro-Tesla (uT).<\/p>\n<p>x_bias, y_bias, z_bias give the iron bias estimated in X, Y, Z axes. Each field is a component of the estimated hard iron calibration. The values are in micro-Tesla (uT).<\/p>\n<p>Hard iron &#8211; These distortions arise due to the magnetized iron, steel or permanent magnets on the device. Soft iron &#8211; These distortions arise due to the interaction with the earth&#8217;s magnetic field.<\/p><\/blockquote>\n<p>\u30cf\u30fc\u30c9\u30a2\u30a4\u30a2\u30f3\u3068\u30bd\u30d5\u30c8\u30a2\u30a4\u30a2\u30f3\u3063\u3066\u4f55\u2192<a href=\"https:\/\/myenigma.hatenablog.com\/entry\/2016\/04\/10\/211919\">\u3053\u3061\u3089<\/a>\u306b\u8aac\u660e\u3042\u3063\u305f\u3002<\/p>\n<p>value[3][4][5]\u304c\u30d0\u30a4\u30a2\u30b9\u3068\u66f8\u3044\u3066\u3042\u308b\u304c\u3001\u3053\u308c\u3092\u666e\u901a\u306b\u30aa\u30d5\u30bb\u30c3\u30c8\u5024\u3068\u3057\u3066\u4f7f\u3063\u3066\u3082\u3001TYPE_MAGNETIC_FIELD\u306e\u5024\u3068\u4e00\u81f4\u3057\u306a\u3044\u3002\u306a\u305c\u3060\u3002<\/p>\n<h4>\u4ed6\u306e<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.simplywerx.compass3d&amp;hl=ja\">\u30ad\u30e3\u30ea\u30d6\u30ec\u30fc\u30b7\u30e7\u30f3\u6a5f\u80fd\u4ed8\u304d\u30b3\u30f3\u30d1\u30b9\u30a2\u30d7\u30ea<\/a><\/h4>\n<p>\u3092\u4f7f\u3063\u305f\u6642\u3001value[3][4][5]\u306e\u5024\u304c\u5909\u308f\u3063\u305f\u3002\u3057\u304b\u3082\u5909\u308f\u3063\u305f\u5024\u304c\u81ea\u5206\u306e\u30a2\u30d7\u30ea\u306b\u3082\u9069\u7528\u3055\u308c\u305f\u3002\u591a\u5206\u3002\u3053\u3053\u306e\u5024\u306e\u5909\u66f4\u306e\u4ed5\u65b9\u304c\u308f\u304b\u3089\u306a\u3044\u3002<a href=\"https:\/\/github.com\/mvglasow\/satstat\/issues\/24\">\u3053\u3053<\/a>\u3092\u898b\u3066\u307f\u308b\u3068(\u3055\u3063\u304d\u306e\u30b3\u30f3\u30d1\u30b9\u30a2\u30d7\u30ea\u3068\u306f\u9055\u3046satstat\u3063\u3066\u3084\u3064\u306eIssue\u306eGPSstatus\u306e\u8a71\u984c\u3060\u3051\u3069)<\/p>\n<blockquote><p>To my knowledge, GPS Status does some extra magic inside the app, which is not part of the Android API and thus not available to other applications.<\/p><\/blockquote>\n<p>\u9b54\u6cd5\u3060\u3063\u3066\u3055!!2014\u5e74\u306e\u8a71\u984c\u3060\u3051\u3069\u3001\u72b6\u6cc1\u306f\u5909\u308f\u3063\u3066\u306a\u3044\u3093\u3060\u308d\u3046\u304b\u3002<\/p>\n<h4>HuaweiP20Pro\u306e\u78c1\u6c17\u30bb\u30f3\u30b5\u30fc\u306f\u65ed\u5316\u6210\u88fd<\/h4>\n<p>\u307f\u305f\u3044\u3002\u578b\u756a\u306f\u77e5\u3089\u3093\u3002<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/01\/magsen-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-349\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/01\/magsen-1-300x44.png\" alt=\"\" width=\"300\" height=\"44\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/01\/magsen-1-300x44.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/01\/magsen-1-768x113.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/01\/magsen-1-1024x151.png 1024w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/01\/magsen-1.png 1366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.s3sensor.com\/s3\/compass.html\">\u3053\u3053<\/a>\u3092\u898b\u308b\u3068\u30bb\u30f3\u30b5\u30fc\u306b\u306f\u81ea\u52d5\u8abf\u6574\u6a5f\u80fd\u304c\u3064\u3044\u3066\u3044\u308b\u3088\u3046\u3060\u3002\u305f\u3060\u30bb\u30f3\u30b5\u30fc\u306b\u8f03\u6b63\u6a5f\u80fd\u304c\u3064\u3044\u3066\u3044\u308b\u304b\u3089\u3068\u3044\u3063\u3066\u3001\u305d\u308c\u3092\u5168\u90e8\u4fe1\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u307f\u305f\u3044\u3002\u7d50\u5c40\u4f7f\u7528\u8005\u306b\u3088\u308b\u8f03\u6b63\u306f\u5fc5\u8981\u306b\u306a\u308b\u307f\u305f\u3044\u3002<a href=\"https:\/\/teratail.com\/questions\/96167\">\u3053\u308c<\/a>\u3068\u304b<a href=\"https:\/\/stackoverflow.com\/questions\/34012677\/check-and-enable-magnetic-sensor-calibration-in-android\">\u3053\u308c<\/a>\u3068\u304b<a href=\"https:\/\/stackoverflow.com\/questions\/42632370\/inbuilt-sensor-calibration-functionality-in-android\">\u3053<\/a><a href=\"https:\/\/stackoverflow.com\/questions\/6047931\/magnetic-field-sensor-calibration-on-android\">\u308c<\/a><a href=\"http:\/\/m.eclipsim.com\/gpsstatus\/\">\u3089<\/a>\u3068\u304b\u3002\u3058\u3083\u3042\u3069\u3046\u3084\u3063\u3066\u8f03\u6b63\u3059\u308b\u306d\u3093\u3063\u3066\u8a71\u306b\u306a\u308b\u3088\u306d\u3002<\/p>\n<h4>\u96fb\u5b50\u30b3\u30f3\u30d1\u30b9\u306e\u8f03\u6b63\u65b9\u6cd5\u2192\u4ffa\u306b\u306f\u7121\u7406<\/h4>\n<p>\u3092\u30b0\u30b0\u3063\u3066\u307f\u308b\u3068\u6570\u5f0f\u304c\u3044\u3063\u3071\u3044\u51fa\u3066\u304f\u308b\u3002<\/p>\n<h5>\u4e8c\u6b21\u5143\u306e\u5834\u5408<\/h5>\n<p>X\u8ef8\u30fbY\u8ef8\u306e\u4e2d\u70b9\u3092\u8a08\u7b97\u3057\u3001\u305d\u306e\u5024\u3092\u30aa\u30d5\u30bb\u30c3\u30c8\u3068\u3057\u3066\u4f7f\u3046\u307f\u305f\u3044\u3002\u30bb\u30f3\u30b5\u30fc\u3067\u5024\u3092\u53d6\u5f97\u3059\u308b\u3068\u30d7\u30e9\u30b9\u65b9\u5411\u3068\u30de\u30a4\u30ca\u30b9\u65b9\u5411\u306e\u7d76\u5bfe\u5024\u306f\u4e00\u81f4\u3059\u308b\u306f\u305a\u3001\u3067\u3082\u73fe\u5b9f\u305d\u3046\u3058\u3083\u306a\u3044\u306e\u3067\u3001\u305d\u3046\u306a\u308b\u3088\u3046\u306b\u88dc\u6b63\u3059\u308b\u3063\u3066\u3053\u3068\u3060\u3088\u306d\u3002<\/p>\n<pre>float[] midXYZ = new float[3];\r\n\r\nfor (int i = 0; i &lt; 3; i++) {\r\n    if (fMagnetic[i] &gt; 0 &amp;&amp; fMagnetic[i] &gt; maxXYZ[i]) {\r\n        maxXYZ[i] = fMagnetic[i];\r\n    } else if (fMagnetic[i] &lt; 0 &amp;&amp; fMagnetic[i] &lt; minXYZ[i]) {\r\n        minXYZ[i] = fMagnetic[i];\r\n    }\r\n\r\n    midXYZ[i] = (maxXYZ[i] + minXYZ[i]) \/ 2;\r\n}<\/pre>\n<pre>fMagnetic[0] = fMagnetic[0] - midXYZ[0];\r\nfMagnetic[1] = fMagnetic[1] - midXYZ[1];\r\nfMagnetic[2] = fMagnetic[2] - midXYZ[2];<\/pre>\n<p>\u66f8\u3044\u3066\u307f\u305f\u3051\u3069\u3053\u308c\u306f\u826f\u304f\u306a\u3044\u3002\u6700\u5927\u5024\u30fb\u6700\u5c0f\u5024\u306b\u4f8b\u5916\u7684\u306b\u98db\u3093\u3060\u5024\u304c\u53d6\u5f97\u3055\u308c\u305f\u5834\u5408\u3092\u52a0\u5473\u3057\u3066\u306a\u3044\u3001\u3066\u3053\u3068\u306f\u305d\u3046\u3044\u3046\u5834\u5408\u3061\u3083\u3093\u3068\u8f03\u6b63\u3055\u308c\u306a\u3044\u3002\u306e\u3067\u99c4\u76ee\u3060\u3002\u3053\u308c\u3082\u30ed\u30fc\u30d1\u30b9\u30d5\u30a3\u30eb\u30bf\u304b\u3051\u308a\u3083\u3044\u3044\u306e\u304b\u306a\u2026\u3002<\/p>\n<h5>\u4e09\u6b21\u5143\u306e\u5834\u5408<\/h5>\n<p>\u3053\u3063\u3061\u306f\u30b3\u30fc\u30c9\u3082\u66f8\u3051\u306a\u304b\u3063\u305f\u305c\u3002\u8907\u6570\u306e\u4e09\u6b21\u5143\u4e0a\u306e\u70b9\u304b\u3089\u6955\u5186\u4f53\u3092\u6c42\u3081\u3066\u3001\u6700\u5c0f\u4e8c\u4e57\u6cd5\u3068\u304b\u3044\u3046\u65b9\u6cd5\u3067\u539f\u70b9\u3092\u6c42\u3081\u308b\u3089\u3057\u3044\u305e\u3002\u8a00\u3063\u3066\u3066\u610f\u5473\u304c\u5206\u304b\u3089\u3093\u306a\u3002<a href=\"https:\/\/www.aichi-mi.com\/home\/%E9%9B%BB%E5%AD%90%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9\/%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9%E3%81%AE%E8%BC%83%E6%AD%A3%E3%82%BD%E3%83%95%E3%83%88%E3%81%AE%E5%8E%9F%E7%90%86\/\">\u3053\u3053<\/a>\u3068\u304b<a href=\"https:\/\/electronics.stackexchange.com\/questions\/22144\/magnetometer-%E2%88%9E-shaped-calibration\">\u3053\u3053<\/a>\u3002<\/p>\n<p>\u3067\u3082\u3055\u3001\u3053\u308c\u3067\u88dc\u6b63\u5024\u3092\u5f97\u3089\u308c\u305f\u3068\u3057\u3066\u3001\u81ea\u5206\u306e\u30a2\u30d7\u30ea\u3067\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u308c\u3069\u3082\u3001\u2191\u3067\u66f8\u3044\u305fvalue[3][4][5]\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u3044\u306e\u3060\u304b\u3089\u3084\u3063\u3071\u308a\u7247\u624b\u843d\u3061\u306a\u6c17\u304c\u3059\u308b\u3002\u8ca0\u3051\u60dc\u3057\u307f\u3060\u3051\u3069\u306a\u3002\u3053\u306evalue[3][4][5]\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u304c\u77e5\u308a\u305f\u3044\u3002\u3069\u3053\u304b\u306b\u306a\u3044\u304b\u306a\u30fc\u3001\u63a2\u3057\u305f\u3051\u3069\u898b\u3064\u304b\u3093\u306a\u3044\u3002<\/p>\n<h3>getRotationMatrixFromVector\u3092\u4f7f\u3063\u3066\u65b9\u4f4d\u89d2\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n<pre>switch (event.sensor.getType()) {\r\n    case Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR:\r\n        fGeoRotVec = event.values.clone();\r\n}\r\n\r\nif (fGeoRotVec != null) {\r\n    SensorManager.getRotationMatrixFromVector(inR, fGeoRotVec);\r\n    SensorManager.getOrientation(inR, attitude);\r\n    azimuth = (float) Math.toDegrees(attitude[0]);\r\n}<\/pre>\n<p>\u56de\u8ee2\u30d9\u30af\u30c8\u30eb\u30bb\u30f3\u30b5\u30fc\u3092\u4f7f\u3063\u3066\u3082\u65b9\u4f4d\u3092\u8a08\u7b97\u3067\u304d\u308b\u3089\u3057\u3044\u305e\u3002\u56de\u8ee2\u30d9\u30af\u30c8\u30eb\u30bb\u30f3\u30b5\u30fc\u306f\u3001\u78c1\u529b\u30bb\u30f3\u30b5\u30fb\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fb\u30b8\u30e3\u30a4\u30ed\u30bb\u30f3\u30b5\u3092\u4f7f\u3063\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u4e0a\u3067\u307b\u306b\u3083\u3089\u3089\u3057\u3066\u308b\u307f\u305f\u3044\u3002\u8a73\u3057\u3044\u3053\u3068\u306f\u77e5\u3089\u3093\u304c\u3001\u306a\u3093\u304b\u3081\u3063\u3061\u3083\u65e9\u3044\u3002<br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/gYLtTLYQDWI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>\u3082\u3046\u3053\u308c\u3067\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3082\u601d\u3063\u305f\u304c\u3001\u3053\u308c\u3082\u3084\u3063\u3071\u308a\u8f03\u6b63\u3057\u306a\u3044\u3068\u6b63\u3057\u3044\u5024\u306f\u53d6\u308c\u306a\u3044\u3093\u3058\u3083\u306a\u3044\u3060\u308d\u3046\u304b\u3002\u8cc7\u6599\u304c\u5c11\u306a\u304f\u3066\u8abf\u3079\u3066\u306a\u3044\u3002\u52d5\u753b\u306b\u306f\u306a\u3063\u3066\u306a\u3044\u3051\u3069\u3001\u6700\u521d\u89d2\u5ea6\u304c\u3059\u3063\u98db\u3093\u3060\u308a\u306f\u3057\u305f\u3002<\/p>\n<h3>\u3044\u3063\u304b\u306a\u3002<\/h3>\n<p>\u3044\u3044\u3088\u306d\u3002\u7d50\u5c40value[3][4][5]\u306e\u8b0e\u306f\u89e3\u3051\u306a\u3044\u3057\u3002<\/p>\n<h3>\u53c2\u8003<\/h3>\n<p><a href=\"https:\/\/developer.android.com\/reference\/android\/hardware\/SensorEvent#values\">https:\/\/developer.android.com\/reference\/android\/hardware\/SensorEvent#values<\/a><\/p>\n<p><a href=\"https:\/\/myenigma.hatenablog.com\/entry\/2016\/04\/10\/211919\">https:\/\/myenigma.hatenablog.com\/entry\/2016\/04\/10\/211919<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/mvglasow\/satstat\/issues\/24\">https:\/\/github.com\/mvglasow\/satstat\/issues\/24<\/a><\/p>\n<p><a href=\"https:\/\/teratail.com\/questions\/96167\">https:\/\/teratail.com\/questions\/96167<\/a><\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/34012677\/check-and-enable-magnetic-sensor-calibration-in-android\">https:\/\/stackoverflow.com\/questions\/34012677\/check-and-enable-magnetic-sensor-calibration-in-android<\/a><\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/42632370\/inbuilt-sensor-calibration-functionality-in-android\">https:\/\/stackoverflow.com\/questions\/42632370\/inbuilt-sensor-calibration-functionality-in-android<\/a><\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/6047931\/magnetic-field-sensor-calibration-on-android\">https:\/\/stackoverflow.com\/questions\/6047931\/magnetic-field-sensor-calibration-on-android<\/a><\/p>\n<p><a href=\"http:\/\/m.eclipsim.com\/gpsstatus\/\">http:\/\/m.eclipsim.com\/gpsstatus\/<\/a><\/p>\n<p><a href=\"https:\/\/www.aichi-mi.com\/home\/%E9%9B%BB%E5%AD%90%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9\/%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9%E3%81%AE%E8%BC%83%E6%AD%A3%E3%82%BD%E3%83%95%E3%83%88%E3%81%AE%E5%8E%9F%E7%90%86\/\">https:\/\/www.aichi-mi.com\/home\/%E9%9B%BB%E5%AD%90%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9\/%E3%82%B3%E3%83%B3%E3%83%91%E3%82%B9%E3%81%AE%E8%BC%83%E6%AD%A3%E3%82%BD%E3%83%95%E3%83%88%E3%81%AE%E5%8E%9F%E7%90%86\/<\/a><\/p>\n<p><a href=\"https:\/\/electronics.stackexchange.com\/questions\/22144\/magnetometer-%E2%88%9E-shaped-calibration\">https:\/\/electronics.stackexchange.com\/questions\/22144\/magnetometer-%E2%88%9E-shaped-calibration<\/a><\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/1884699\/android-compass-noise-algorithm\">https:\/\/stackoverflow.com\/questions\/1884699\/android-compass-noise-algorithm<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u304c\u3089\u304c\u308b \u4e0a\u624b\u304f\u3044\u304b\u3093\u306a\u30fc\u3002 Matrix.setRotate\u2192\u65b0\u305f\u306bBitmap\u4f5c\u308b\u3001\u3060\u3068\u753b\u50cf\u304c\u52dd\u624b\u306b\u7e2e\u5c0f\u3055\u308c\u308b \u4f8b\u3048\u3070\u659c\u3081\u3068\u304b\u306b\u306a\u3063\u305f\u6642\u3001\u524d\u306e\u30b3\u30fc\u30c9\u3060\u3068\u5bfe\u89d2\u7dda\u306e\u9577\u3055\u304c\u7e26\u6a2a\u306e\u9577\u3055\u306b\u7e2e\u3081\u3089\u308c\u308b\u3093\u3060\u304b\u3089\u3001\u5f53\u305f\u308a\u524d\u3063\u3061\u3083 &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2019\/01\/21\/346\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":349,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[3,6,4,29],"class_list":["post-346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-8","tag-android","tag-androidstudio","tag-4","tag-29"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":2,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":350,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/346\/revisions\/350"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media\/349"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}