ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Phidgets with ROS error

asked 2015-12-01 20:15:36 -0600

SaugataBiswas gravatar image

updated 2015-12-04 16:54:29 -0600

tfoote gravatar image

Hello all, I am a newbie in ROS. So please excuse me if my query sounds naive.

I am trying to use a phidget spatial sensor input in a ros node. For this I am trying to catkin_make the phidgets_driver package in ros hydro. However I get the following error:

CMake Error at ~/catkin_ws/devel/share/phidgets_api/cmake/phidgets_apiConfig.cmake:165 (find_package):
  Could not find module Findlibphidgets.cmake or a configuration file for
  package libphidgets.

  Adjust CMAKE_MODULE_PATH to find Findlibphidgets.cmake or set
  libphidgets_DIR to the directory containing a CMake configuration file for
  libphidgets.  The file will have one of the following names:


Call Stack (most recent call first):
  /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:75 (find_package)
  phidgets_drivers/phidgets_ir/CMakeLists.txt:4 (find_package)

I have no clue what is wrong here. Btw, I tried the example at Phidgets linux support and it works without any problem.

Any help with phidgets with ROS will be highly appreciated.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-12-04 16:59:29 -0600

tfoote gravatar image

CMake cannot find libphidgest. The most common reason is that you have not installed the libphidgets package on your system or in your workspace.

Please provide more details about how you setup your system, and we might be able to help you resolve your dependencies.

edit flag offensive delete link more

answered 2015-12-10 02:11:31 -0600

schultza gravatar image

As Tully said, you need the libphidgets package. If this command fails: rosdep install libphidgets to install the package, clone this repository or the libphidgets pacakge to your workspace with git clone (check the branch since your working on hydro). After this you should be able to compile it. Usually you still have to adapt the files in the direcotry /etc/udev/rules.d/ for your phidget imu. Just copy the file phidgets_drivers/phidgets_api/share/udev/99-phidgets.rulesin there and check with lsusb (while the imu is connected) if the values are correct.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-12-01 20:15:36 -0600

Seen: 862 times

Last updated: Dec 10 '15