[Documentation] [TitleIndex] [WordIndex

Piano Playing Demo

This is a kinect demo found in the mit-ros-pkg repository. For more MIT kinect demos check out the MIT Kinect Demos page.

How to Run this Demo

  Show EOL distros: 

Installation

  1. Like all MIT kinect demos, you must first perform the General Installation

  2. Once your environment is setup, run:
     rosmake piano

Execution

  • roslaunch piano pianist.launch

Installation

  1. Like all MIT kinect demos, you must first perform the General Installation

  2. Once your environment is setup, run:
     rosmake piano

Execution

  • roslaunch piano pianist.launch
  • Note: if this instruction doesn't work, try the instruction of electric.

Installation

  1. Like all MIT kinect demos, you must first perform the General Installation

  2. in file kinect_utils/rosdep.yaml, add below to the bottom of the file:

    • lucid:
      • libsfml-dev libsfml-audio1.5
      maverick:
      • libsfml-dev libsfml-audio1.6
      natty:
      • libsfml-dev libsfml-audio1.6
      oneiric:
      • libsfml-dev libsfml-audio1.6

    roscd kinect_utils 
    gedit rosdep.yaml
  3. install dependencies.
    rosdep install piano
  4. in file piano/CMakeLists.txt, replace target_link_libraries(testsound sfml-audio) with target_link_libraries(testsound sfml-audio sfml-system)

    rosed piano CMakeLists.txt 
  5. Once your environment is setup, run:
     rosmake piano

Execution

  • roslaunch piano pianist.launch

Tips

Development Info

Nodes Involved

Dependencies

External

This package depends on the Simple Fast Media Library to play sounds. you can install the dependencies using rosdep:

rosdep install piano

ROS Packages


2024-04-27 12:56