佐藤さとる

佐藤さとる

梶研 [mocopi センシング]

2023年10月23日

mocopi センシング

出席率

スケジュール

短期的な予定

長期的な予定

進捗

mocopi x Unity

参考: EVMC4UでUnityとバーチャルモーションキャプチャーをつなぐ方法 | STYLY

  1. mocopi(本体) -[Bluetooth]→ mocopi(アプリ)
  2. mocopi(アプリ) -[UDP]→ Python(mcp-reciever)
  3. Python(mcp-reciever) -[VMC]→ Unity

リアルタイムでUnityで可視化

<iframe width="1180" height="647" src="https://www.youtube.com/embed/m-bYzkfMnqI" title="mocopi x Unity 1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

色んな動作をとる

足踏み,逆立ち

<iframe width="1180" height="664" src="https://www.youtube.com/embed/yv6wS2w80Qw" title="mocopi x Unity 足踏み,逆立ち" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

腹筋,腕立て

<iframe width="1180" height="664" src="https://www.youtube.com/embed/d6J1ZBgpcX8" title="mocopi x Unity 腹筋,腕立て" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

<iframe width="442" height="786" src="https://www.youtube.com/embed/GSjpq5YWks8" title="mocopi x Unity 腹筋,腕立て(現実)" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

素振り,剣道

<iframe width="1180" height="664" src="https://www.youtube.com/embed/lsaWs5ELnBA" title="mocopi x Unity 素振り, 剣道" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

<iframe width="442" height="786" src="https://www.youtube.com/embed/-X8t4r4ZtoM" title="mocopi x Unity 素振り,剣道(現実)" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

誤差を計測(簡易)

30m歩く

<iframe width="442" height="786" src="https://www.youtube.com/embed/sE-lX1Xa-qk" title="mocopi 誤差計測 30m" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

<iframe width="442" height="786" src="https://www.youtube.com/embed/5AFtMsRQZOk" title="mocopi 誤差計測 30m(現実)" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

計測方法・結果

30m歩いたところ、バーチャルでは29m歩いたことになった

外で100mくらい歩いて誤差を計測したい

計測アプリを作る

既存のアプリ等の問題点

技術

表示とアニメーションができた

ブラウザ上で動くようにした

<iframe width="1180" height="664" src="https://www.youtube.com/embed/3BUVaL_y07E" title="web x vrmモデル 歩かせてみた" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

三角関数で円形に動くアニメーションを作った

→ UDPで受信したデータを元に動かすようにする

破壊的変更により今までの情報がほとんど使えず、

公式ドキュメントを読みながら制作した

Next: Rust でUDPを取得する

mocopi の問題点

今後mocopiでやりたいこと

余談

技育祭をみた

土日にシス研で集まってみた

1日目

2日目

geeksai02.jpg (473.9 kB)