Softbank Robotics Corp. 2014 All rights reserved.
ここのスペースは写真OK! 	
ぜひハッシュタグをつけて呟いてください。              	
  
#pepper_3331	
  
【事前準備のお願い】ワークショップ2	
今回はタブレットと⾳音楽再⽣生機能をつかいます。
半角英数字のファイル名で以下データの	
ご用意のご協力をお願いします。	
● 画像データ1枚 (gif .jpg. pngのどれか) 	
● 音楽データ1曲 mp3	
(「フリー無料ダウンロード MP3」	
 などと検索すると早いです。)
Softbank Robotics Corp. 2015 All rights reserved.
ワークショップ#2
Choregraphe2.4.3
2016/5/2
Softbank Robotics
Atelier Akihabara
Softbank Robotics Corp. 2014 All rights reserved.
アトリエについて
✓  Pepperのアプリ開発を実体験
実体験とコミュニティーで開発を促進する
アトリエ コミュニティー
✓  経験や知⾒見見を共有
相互
促進
Softbank Robotics Corp. 2014 All rights reserved.
アトリエについて
アトリエサテライト
全国各地で発⾜足中
実体験とコミュニティーで開発を促進する
アトリエ コミュニティー
✓  デベロッパーによる勉強会
相互
促進
Softbank Robotics Corp. 2014 All rights reserved.
はじめに
  ・1⼈人1分
  ・お名前
  ・所属
  ・本⽇日の意気込み
例例:
本⽇日の案内を勤めさせていただきます、
  (	
  	
  )と申します。
Softbank Robotics Corp. 2014 All rights reserved.
本⽇日の内容
1.⾳音楽を再⽣生する
2.タブレットに画像を表⽰示
3.移動させる
4.⾝身振りをつけて話す
Softbank Robotics Corp. 2014 All rights reserved.
↑Play Sound ↑Show image
↑Move To↑Wait ↑Animated Say
WS2で使うBOX
↑Face Tracker
Tactile で検索
Softbank Robotics Corp. 2014 All rights reserved.
⾳音楽を再⽣生する
Softbank Robotics Corp. 2014 All rights reserved. 9
使うボックスはこれ!
Softbank Robotics Corp. 2014 All rights reserved.
サウンドを使う3ステップ 
①インポート    ②ボックスの設定      ③リンクの設定    
Softbank Robotics Corp. 2014 All rights reserved.
サンプル:
頭を触ったら⾳音楽が鳴る
右手を触ったら音楽が止まる	
  
左手を触ったらアプリが終了
タブレットに画像を表⽰示  
Softbank Robotics Corp. 2014 All rights reserved.
タブレットに
画像を表⽰示
Softbank Robotics Corp. 2014 All rights reserved.
タブレットに画像を表⽰示  
①インポート  ②ボックスの設定   ③リンクの設定 
Softbank Robotics Corp. 2014 All rights reserved.
タブレットに画像を表⽰示  
名前は必ず
「html」
④フォルダ作成  ⑤フォルダ名を設定 ③リンクの設定 
画像をhtml内に移動
Softbank Robotics Corp. 2014 All rights reserved.
サンプル:画像を3秒で消す
タブレットに画像を表⽰示  
Softbank Robotics Corp. 2014 All rights reserved.
移動させてみよう
Softbank Robotics Corp. 2014 All rights reserved. 17
使うボックスはこれ!
Softbank Robotics Corp. 2014 All rights reserved.
StandardタブのMotions>Dances> Move To を
ドラッグ&ドロップします。
移動をさせてみよう①
Softbank Robotics Corp. 2014 All rights reserved.
移動をさせてみよう②
[+]ボタン をクリック
し[新規プラナムーブ] を
クリックします。
適当な名前を設定して、[追加]ボタンをクリック
すると、平面動作エディタが開きます。
Softbank Robotics Corp. 2014 All rights reserved.
移動をさせてみよう②
Softbank Robotics Corp. 2014 All rights reserved.
移動をさせてみよう②
Softbank Robotics Corp. 2014 All rights reserved.
⾝身振りをつけて
話してみよう
Softbank Robotics Corp. 2014 All rights reserved. 23
使うボックスはこれ!
↑手振り ↑目線
Softbank Robotics Corp. 2014 All rights reserved.
手振り	
  
まずはBody  language  modeをcontextualに設定してみます。
Softbank Robotics Corp. 2014 All rights reserved.
どうも^start(animations/Stand/Gestures/Hey_̲1)  
                                                                      こんにちは、ぼくはペッパーです。
どうも^run(animations/Stand/Gestures/Hey_̲1)  
                                                                  こんにちは、ぼくはペッパーです。
run	
  
animation
①どうも ③こんにちはぼくは〜~
②run
|
start	
  
animation
①どうも ③こんにちはぼくは〜~
②start
|
手振り	
  
Softbank Robotics Corp. 2014 All rights reserved.
どうも^start(animations/Stand/Gestures/Hey_̲1)  こんにちは
^wait(animations/Stand/Gestures/Hey_̲1)  ぼくはペッパーです。
どうも^start(animations/Stand/Gestures/Hey_̲1)  こんにちは
^stop(animations/Stand/Gestures/Hey_̲1)  ぼくはペッパーです。
animation
stop	
   ①どうも ③こんにちは
animation
②start
|
④stop
|
⑤ぼくはペッパーです
wait	
  
animation
②start
|
④wait
|
①どうも ⑤ぼくはペッパーです③こんにちは
手振り	
  
Softbank Robotics Corp. 2014 All rights reserved.
⽬目と⽬目を合わせてみよう
パラメーターのModeを「Head」に設定すると、頭を。
「WholeBody」に設定すると上半⾝身を。
「Move」に設定すると体全体を移動させて⽬目を合わせてきます。
Softbank Robotics Corp. 2014 All rights reserved.
⽬目と⽬目を合わせてみよう
このように、FaceTrackerの
targetReached端⼦子につないだ
後にAnimatedSayを⾏行行うことで
⽬目と⽬目を合わせてモーションつき
のスピーチをすることができます。
パラメーターのModeを「Move」に設定し、
X(m)やTheta(rad)のThresholdを調整してあげると、
近寄ってきたあと、多少の誤差があっても「targetReached」
端⼦子が発⽕火します。
Softbank Robotics Corp. 2014 All rights reserved.
⼿手振り
プリインストールジェスチャーの参考
「qiita pepper プリインストール」で検索
http://qiita.com/hyge_interface/items/94fbd5def8ed6be3afea
Gestureの一覧
Softbank Robotics Corp. 2014 All rights reserved.
おつかれさまでした!
これにてWS2は終わりになります。
WS3.4もぜひ受講してみてください

アトリエ秋葉原 Choregraphe WS#2

  • 1.
    Softbank Robotics Corp.2014 All rights reserved. ここのスペースは写真OK!  ぜひハッシュタグをつけて呟いてください。                 #pepper_3331   【事前準備のお願い】ワークショップ2 今回はタブレットと⾳音楽再⽣生機能をつかいます。 半角英数字のファイル名で以下データの ご用意のご協力をお願いします。 ● 画像データ1枚 (gif .jpg. pngのどれか) ● 音楽データ1曲 mp3 (「フリー無料ダウンロード MP3」  などと検索すると早いです。)
  • 2.
    Softbank Robotics Corp.2015 All rights reserved. ワークショップ#2 Choregraphe2.4.3 2016/5/2 Softbank Robotics Atelier Akihabara
  • 3.
    Softbank Robotics Corp.2014 All rights reserved. アトリエについて ✓  Pepperのアプリ開発を実体験 実体験とコミュニティーで開発を促進する アトリエ コミュニティー ✓  経験や知⾒見見を共有 相互 促進
  • 4.
    Softbank Robotics Corp.2014 All rights reserved. アトリエについて アトリエサテライト 全国各地で発⾜足中 実体験とコミュニティーで開発を促進する アトリエ コミュニティー ✓  デベロッパーによる勉強会 相互 促進
  • 5.
    Softbank Robotics Corp.2014 All rights reserved. はじめに   ・1⼈人1分   ・お名前   ・所属   ・本⽇日の意気込み 例例: 本⽇日の案内を勤めさせていただきます、   (    )と申します。
  • 6.
    Softbank Robotics Corp.2014 All rights reserved. 本⽇日の内容 1.⾳音楽を再⽣生する 2.タブレットに画像を表⽰示 3.移動させる 4.⾝身振りをつけて話す
  • 7.
    Softbank Robotics Corp.2014 All rights reserved. ↑Play Sound ↑Show image ↑Move To↑Wait ↑Animated Say WS2で使うBOX ↑Face Tracker Tactile で検索
  • 8.
    Softbank Robotics Corp.2014 All rights reserved. ⾳音楽を再⽣生する
  • 9.
    Softbank Robotics Corp.2014 All rights reserved. 9 使うボックスはこれ!
  • 10.
    Softbank Robotics Corp.2014 All rights reserved. サウンドを使う3ステップ  ①インポート    ②ボックスの設定      ③リンクの設定    
  • 11.
    Softbank Robotics Corp.2014 All rights reserved. サンプル: 頭を触ったら⾳音楽が鳴る 右手を触ったら音楽が止まる   左手を触ったらアプリが終了 タブレットに画像を表⽰示  
  • 12.
    Softbank Robotics Corp.2014 All rights reserved. タブレットに 画像を表⽰示
  • 13.
    Softbank Robotics Corp.2014 All rights reserved. タブレットに画像を表⽰示   ①インポート  ②ボックスの設定   ③リンクの設定 
  • 14.
    Softbank Robotics Corp.2014 All rights reserved. タブレットに画像を表⽰示   名前は必ず 「html」 ④フォルダ作成  ⑤フォルダ名を設定 ③リンクの設定  画像をhtml内に移動
  • 15.
    Softbank Robotics Corp.2014 All rights reserved. サンプル:画像を3秒で消す タブレットに画像を表⽰示  
  • 16.
    Softbank Robotics Corp.2014 All rights reserved. 移動させてみよう
  • 17.
    Softbank Robotics Corp.2014 All rights reserved. 17 使うボックスはこれ!
  • 18.
    Softbank Robotics Corp.2014 All rights reserved. StandardタブのMotions>Dances> Move To を ドラッグ&ドロップします。 移動をさせてみよう①
  • 19.
    Softbank Robotics Corp.2014 All rights reserved. 移動をさせてみよう② [+]ボタン をクリック し[新規プラナムーブ] を クリックします。 適当な名前を設定して、[追加]ボタンをクリック すると、平面動作エディタが開きます。
  • 20.
    Softbank Robotics Corp.2014 All rights reserved. 移動をさせてみよう②
  • 21.
    Softbank Robotics Corp.2014 All rights reserved. 移動をさせてみよう②
  • 22.
    Softbank Robotics Corp.2014 All rights reserved. ⾝身振りをつけて 話してみよう
  • 23.
    Softbank Robotics Corp.2014 All rights reserved. 23 使うボックスはこれ! ↑手振り ↑目線
  • 24.
    Softbank Robotics Corp.2014 All rights reserved. 手振り   まずはBody  language  modeをcontextualに設定してみます。
  • 25.
    Softbank Robotics Corp.2014 All rights reserved. どうも^start(animations/Stand/Gestures/Hey_̲1)                                                                        こんにちは、ぼくはペッパーです。 どうも^run(animations/Stand/Gestures/Hey_̲1)                                                                    こんにちは、ぼくはペッパーです。 run   animation ①どうも ③こんにちはぼくは〜~ ②run | start   animation ①どうも ③こんにちはぼくは〜~ ②start | 手振り  
  • 26.
    Softbank Robotics Corp.2014 All rights reserved. どうも^start(animations/Stand/Gestures/Hey_̲1)  こんにちは ^wait(animations/Stand/Gestures/Hey_̲1)  ぼくはペッパーです。 どうも^start(animations/Stand/Gestures/Hey_̲1)  こんにちは ^stop(animations/Stand/Gestures/Hey_̲1)  ぼくはペッパーです。 animation stop   ①どうも ③こんにちは animation ②start | ④stop | ⑤ぼくはペッパーです wait   animation ②start | ④wait | ①どうも ⑤ぼくはペッパーです③こんにちは 手振り  
  • 27.
    Softbank Robotics Corp.2014 All rights reserved. ⽬目と⽬目を合わせてみよう パラメーターのModeを「Head」に設定すると、頭を。 「WholeBody」に設定すると上半⾝身を。 「Move」に設定すると体全体を移動させて⽬目を合わせてきます。
  • 28.
    Softbank Robotics Corp.2014 All rights reserved. ⽬目と⽬目を合わせてみよう このように、FaceTrackerの targetReached端⼦子につないだ 後にAnimatedSayを⾏行行うことで ⽬目と⽬目を合わせてモーションつき のスピーチをすることができます。 パラメーターのModeを「Move」に設定し、 X(m)やTheta(rad)のThresholdを調整してあげると、 近寄ってきたあと、多少の誤差があっても「targetReached」 端⼦子が発⽕火します。
  • 29.
    Softbank Robotics Corp.2014 All rights reserved. ⼿手振り プリインストールジェスチャーの参考 「qiita pepper プリインストール」で検索 http://qiita.com/hyge_interface/items/94fbd5def8ed6be3afea Gestureの一覧
  • 30.
    Softbank Robotics Corp.2014 All rights reserved. おつかれさまでした! これにてWS2は終わりになります。 WS3.4もぜひ受講してみてください