Skip to content

[Conductor] Orientation-agnostic ictus detection using gravity vector #20

Description

@hakaru

概要

MotionConductorService において userAcceleration.y のピークのみを監視する設計は、デバイスの持ち方(向き)によって指揮を検出できないリスクがあります。

詳細

  • iPhone を横持ち(Landscape)したり、水平に持った場合、振り下ろしの加速度は Y 軸以外の成分に分散されます。
  • 加速度のみでは、歩行や不意な動きによる誤検出が発生しやすくなります。

期待される対応

  • CMMotionManager.deviceMotion を使用し、重力ベクトル(gravity)に基づいて「垂直方向の加速度成分」を抽出する。
  • 加速度の Magnitude(大きさ)の変化を監視する。
  • ジャイロ(rotationRate)を併用し、手首の回転を伴う指揮動作特有のパターンを認識して精度を向上させる。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions