2013년 2월 8일 금요일

MSRDS Tutorial - Day #4


* Play Motion and Music file by using RoboBuilder Brick service


1. Play Motion file

- Add one Data activity.

   We will designate "Motion file" path, therefore, choose "string" option 
   in Data activity.
















- Input Motion file path (that you want to play) in your PC directory.
  For file path, use "/" for directory character. 


-  Copy "RoboBuilder Brick" and paste it, then connect with Data activity. 


















 Select "PlayMotion" when you see the Connections window.
























- Then, you also see "Data Connections" window.

  Select "value" in MotionFile section. 























- Run project, or press "F5" button in keyboard.

- Robot plays "TadpoleSong" motion.


* NOTE) "TadpoleSong.rbm" file should be located
                 in "D://Temp/" directory.







댓글 없음:

댓글 쓰기