Difference between revisions of "Phidgets Installation"

From wikidb
Jump to: navigation, search
Line 1: Line 1:
 
== Core Libraries ==
 
== Core Libraries ==
  
Used Synaptic Package Manager
+
Get the core phidgets libraries from [http://www.phidgets.com/drivers.php www.phidgets.com drivers].
* python-phidgets
+
* libphidgets0
+
* libphidgets-dev
+
  
* festival
+
Note: using Synaptic to get the phidgets drivers will not give you the correct version.
  
Be sure to quit Synaptic. It will lock the repository so that the dependencies cannot be loaded below.
+
* I got libphidget-2.1.8.20120503
 +
* untar
 +
* cd libphidget-2.1.8.20120503
 +
* ./configure
 +
* make
 +
* sudo make install
  
 
== sound_play ==
 
== sound_play ==
Line 14: Line 16:
 
[http://rosphidgets.wordpress.com/ sound_play fix]
 
[http://rosphidgets.wordpress.com/ sound_play fix]
  
As root
+
As root or using sudo
  
 
* add the following to the end of /opt/ros/electric/ros/rosdep.yaml
 
* add the following to the end of /opt/ros/electric/ros/rosdep.yaml
Line 25: Line 27:
 
* cd sound_play
 
* cd sound_play
  
In the following step it complained about festival missing - but it is there. I wonder if the following step is not necessary for 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 step is not necessary for ROS phidgets to install in the following section.
  
 +
* With Synaptic get festival
 
* rosmake --rosdep-install sound_play
 
* rosmake --rosdep-install sound_play
  
 
== ROS Phidgets ==
 
== ROS Phidgets ==
 +
 +
Be sure to quit Synaptic. It will lock the repository so that the dependencies cannot be loaded below.
  
 
[https://launchpad.net/phidgets-ros-pkg download]
 
[https://launchpad.net/phidgets-ros-pkg download]
Line 37: Line 42:
  
 
* untar in /opt/ros/electric/stacks/phidgets
 
* untar in /opt/ros/electric/stacks/phidgets
 
 
* rosmake --rosdep-install phidgets
 
* rosmake --rosdep-install phidgets

Revision as of 15:07, 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 fix

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 step is not necessary for ROS phidgets to install in the following section.

  • 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
  • rosmake --rosdep-install phidgets