<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>プチコン</anon>
  </categories>
  <description>プチコンでジャイロセンサーを使った処理を実装しようとしているのだが、このジャイロの値が何を表現しているのかがよく分からず、いろいろとテスト中。 角度情報のピッチ(X軸)、ロール(Y軸)、ヨー(Z軸)が3DS本体のどの軸なのか、そして0度となる基準はどういう状態なのか。 どうやら、ジャイロ情報は取得を繰り返すと誤差が蓄積されるらしい。GYROSYNCというジャイロ情報の更新という命令があり、これで適宜リセットする必要がある。しかし、毎フレーム読んでしまうと正しく値が取れなくなってしまうようだ。GYROSYNC命令を読んだときの3DSの姿勢が角度0となるみたい。 とりあえず、わかったこと。 GYR…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20150126%2F1422288560&quot; title=&quot;ジャイロ - ゲームが作れるようになるまでがんばる日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-01-26 01:09:20</published>
  <title>ジャイロ</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20150126/1422288560</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
