Difference between revisions of "Phidgets Installation"

From wikidb
Jump to: navigation, search
(ROS Phidgets)
(sound_play)
Line 14: Line 14:
 
== sound_play ==
 
== sound_play ==
  
Sound play is required for ROS phidgets to build and install.  
+
Sound play is required for ROS phidgets to build and install. See [http://rosphidgets.wordpress.com/ sound_play fix] for more details.
 
+
[http://rosphidgets.wordpress.com/ sound_play fix]
+
  
 
As root or using sudo
 
As root or using sudo
Line 27: Line 25:
 
   
 
   
 
* svn co https://code.ros.org/svn/ros-pkg/stacks/sound_drivers/tags/latest/sound_play/
 
* svn co https://code.ros.org/svn/ros-pkg/stacks/sound_drivers/tags/latest/sound_play/
* cd sound_play
 
  
 
In the following steps it complained about festival missing - but it is there. I wonder if the following steps are not necessary for ROS phidgets to install in the following section.  
 
In the following steps it complained about festival missing - but it is there. I wonder if the following steps are not necessary for ROS phidgets to install in the following section.  
  
 +
* cd sound_play
 
* With Synaptic get festival
 
* With Synaptic get festival
 
* rosmake --rosdep-install sound_play
 
* rosmake --rosdep-install sound_play

Revision as of 15:12, 5 May 2012

Core Libraries

Get the core phidgets libraries from www.phidgets.com drivers.

Note: using Synaptic to get the phidgets drivers will not give you the correct version.

  • I got libphidget-2.1.8.20120503
  • untar
  • cd libphidget-2.1.8.20120503
  • ./configure
  • make
  • sudo make install

sound_play

Sound play is required for ROS phidgets to build and install. See sound_play fix for more details.

As root or using sudo

  • add the following to the end of /opt/ros/electric/ros/rosdep.yaml
python-pygame:
  ubuntu: python-pygame

In the following steps it complained about festival missing - but it is there. I wonder if the following steps are not necessary for ROS phidgets to install in the following section.

  • cd sound_play
  • With Synaptic get festival
  • rosmake --rosdep-install sound_play

ROS Phidgets

Be sure to quit Synaptic. It will lock the repository so that the dependencies cannot be loaded below.

download

  • Download file: phidgets-ros-pkg-1.40.tar.gz

As root

  • untar in /opt/ros/electric/stacks/phidgets
  • cd /opt/ros/electric/stacks/phidgets
  • rosmake --rosdep-install phidgets