<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomorrowkey</author_name>
  <author_url>https://blog.hatena.ne.jp/tomorrowkey/</author_url>
  <blog_title>明日の鍵（跡地）</blog_title>
  <blog_url>https://tomorrowkey-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>development</anon>
    <anon>android</anon>
  </categories>
  <description>下に向かって加速している 普通に加速度センサの値を表示すると重力の値が影響されて表示されます テーブルの上においている状態でも下に向かって加速しています 今回はその重力の影響を取り除いて表示します ハイパスフィルタ ローパスフィルタによって重力の分の値をフィルタリングします。 加速度からローパスを減算することで重力の値を取り除いた値になります。 ごめんなさい 偉そうに言っているけどソースは全部コピペです ソース public class MainActivity extends Activity implements SensorEventListener { private TextView…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomorrowkey-2.hatenadiary.org%2Fentry%2F20100113%2F1263391119&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>2010-01-13 22:58:39</published>
  <title>加速度センサから重力の影響を取り除く</title>
  <type>rich</type>
  <url>https://tomorrowkey-2.hatenadiary.org/entry/20100113/1263391119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
