SlideShare a Scribd company logo
1 of 33
Download to read offline
UT-Virtual 勉強会
UnlimitedHandとFirstVR
FirstVR
できること:ジェスチャ認識
通信方式:BLE
実行環境:iOS、Android、Macでの動作がメイン(Windowsはこ
れから)
UnlimitedHand
できること:電気刺激、ジェスチャ認識
通信方式:シリアル通信,Bluetooth3.0
実行環境:PCでの動作がメイン
ロボットとのジェスチャ連携
事例紹介(ロボット)
空中でキーボードを打つ際の反力の表現
事例紹介(バーチャルキーボード with Leapmotion)
事例紹介 (3Dタッチもどき)
押し付けの力の推定を利用したインターフェース
UnlimitedHandについて
機能
❶電気刺激
主に重量感覚の提示
❷ジェスチャ認識
筋変位センサを利用したジェスチャ
認識機能
STEP1:Updater(ファームウェアを書き込むもの)と
UnitySDK(UnlimitedHand用のUnityパッケージ)をインストールする
STEP2:ファームウェアアップデータでUnlimitedHandにUnity開発用
のスクリプトを書き込む
UnlimitedHandのUnityでの開発(事前準備)
STEP1:Updater(ファームウェアを書き込むもの)と
UnitySDK(UnlimitedHand用のUnityパッケージ)をインストールする
STEP2:ファームウェアアップデータでUnlimitedHandにUnity開発用
のスクリプトを書き込む
UnlimitedHandのUnityでの開発(事前準備)
STEP1:UpdaterとUnitySDKのダウンロード
dev.unlimitedhand.comのダウンロードページ
からUnitySDKとUpdaterをダウンロードして
ください
STEP1:Updater(ファームウェアを書き込むもの)と
UnitySDK(UnlimitedHand用のUnityパッケージ)をインストールする
STEP2:ファームウェアアップデータでUnlimitedHandにUnity開発用
のスクリプトを書き込む
UnlimitedHandのUnityでの開発(事前準備)
STEP2:ファームウェアアップデートの方法
Serial_Unity_Quaternionを選択
UnilimitedHandのシリアルポートを選択
(WindowsであればCOM3などの名前で表
示されます)
Update!!!
ここまででわからないところや質問がある人は教えてください
UnlimitedHandのUnityでの開発ステップ
STEP1:API Compatibility Levelを.Net4.xに切り替える
STEP2:SDKのインポート
STEP3:UHのゲームオブジェクトを配置する
STEP4:別のスクリプトからのUHクラスのインスタンスを使ってコー
ドを書く
UnlimitedHandのUnityでの開発ステップ
STEP1:API Compatibility Levelを.Net4.xに切り替える
STEP2:SDKをUnityのプロジェクトにインストールする
STEP3:UHのゲームオブジェクトを配置する
STEP4:別のスクリプトからのUHクラスのインスタンスを使ってコー
ドを書く
File -> Build Settings -> Player
Settings -> API Compatibility
Levelを.Net 2.0が.Net4.xに変更
する
STEP1: API Compatibilityを変更する
UnlimitedHandのUnityでの開発ステップ
STEP1:API Compatibility Levelを.Net4.xに切り替える
STEP2:SDKのインポート
STEP3:UHのゲームオブジェクトを配置する
STEP4:別のスクリプトからUHクラスのインスタンスを使ってコード
を書く
STEP2: SDKのインポート
Assets -> Import Package ->
Custumpackage をクリックして
事前にダウンロードしておい
たUnityのパッケージをイン
ポートする
UnlimitedHandのUnityでの開発ステップ
STEP1:API Compatibility Levelを.Net4.xに切り替える
STEP2:SDKのインポート
STEP3:UHのゲームオブジェクトを配置する
STEP4:別のスクリプトからUHクラスのインスタンスを使ってコード
を書く
STEP3: UHのゲームオブジェクトを配置する
Prefabに入っているUHというゲ
ームオブジェクトを適当なと
ころに配置する
UnlimitedHandのUnityでの開発ステップ
STEP1:API Compatibility Levelを.Net4.xに切り替える
STEP2:SDKのインポート
STEP3:UHのゲームオブジェクトを配置する
STEP4:別のスクリプトからUHクラスのインスタンスを使ってコード
を書く
UnlimitedHand
Unity SDKの機能
(OUTPUT)
電気刺激
振動
UnlimitedHand
Unity SDKの機能
(OUTPUT)
電気刺激
振動 ‘b’を書き込む
刺激パッドの選択
stimulate(パッドの番号)
刺激の強さの変更
強くする setVoltageLevelUp()
弱くする setVoltageLevelDown()
電気刺激の実装
ペアの人を痛めつけてみましょう
UnlimitedHand
Unity SDKの機能
(OUTPUT)
電気刺激
振動
振動
vibrate()
振動の実装
UnlimitedHand
のSDKの機能(
INPUT)
筋変位センサ
ジャイロセンサ
UnlimitedHand
のSDKの機能(
INPUT)
筋変位センサ
ジャイロセンサ
値の更新
updatePhotoSensors()を呼ぶ
値の利用
値の取得の際にはUHのインスタンスのUHPRを利用する
*値を更新する関数を呼ばないとUHPRの値は変わらないので気
をつける
筋変位センサ周りの実装
UnlimitedHand
のSDKの機能(
INPUT)
筋変位センサ
ジャイロセンサ
値の更新
updateQuaternion()を呼ぶ
値の利用
値の取得の際にはUHのインスタンスのUHQuaternionを読み取る
*値を更新する関数を呼ばないとUHQuaternionの値は変わらな
いので気をつける
ジャイロセンサ周りの実装
https://github.com/HosonoS/UHPy
にあるUnityConnectedUHPy.pyを使ってジェスチャ認識を行なってください。
わかりづらい部分はプルリクエストを送ってもらえるとありがたいです。
ジェスチャ認識
無料公開用のSDKではジェスチャ認識のAPIは用意され
ていません!
1. For文の中で刺激を入れると刺激が出なかったりする。(できるだけ一発の
刺激を使ったほうがいい)
2. UnlimitedHandの中にSerial_Unity_Quaternionが書き込まれていない。
3. パッドが色が変わるとほとんど刺激を感じないので変色したら張替えが必
要
4. WindowsでUnlimitedHandが認識されないCOMが2桁になっているか確認
よくある失敗について

More Related Content

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Ut virtual meeting