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

Best way to install another stack (phidgets)

asked 2012-08-11 05:27:56 -0500

davinci gravatar image

updated 2012-08-13 03:16:21 -0500

Lorenz gravatar image

I want to use a phidget interfacekit 8/8/8 with ROS on a Raspberry Pi. But it's not clear to me what best way to do this is, could someone clearify this or point me to a page with clear information? Given the limited space on the Pi I don't want to check out an entire svn if possible.

I want to install the phidget library. There are two libraries?

EDIT: I used the new overlay method but now I still got a problem. When running: rosrun phidgets_ros interface_kit.py I got this error: rospkg.common.ResourceNotFound: phidgetspp_c_api The problem is that I can't install the phidgetspp_c_api. When installing I got an error with the certificate:

 Command failed: 'hg clone "https://phidget.foote-ros-pkg.googlecode.com/hg" /home/lennart/fuerte_workspace/phidgetspp_c_api'
 errcode: 255:
abort: phidget.foote-ros-pkg.googlecode.com certificate error: certificate is for *.googlecode.com, *.u.googlecode.com, googlecode.com, *.codespot.com, *.googlesource.com, googlesource.com (use --insecure to connect insecurely)
[/vcstools]
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-08-12 07:44:39 -0500

Lorenz gravatar image

updated 2012-08-13 03:20:04 -0500

Wow. You found a really old tutorial :)

Have a look at the ROS Overlay page, in particular the section about adding stacks using roslocate.

Essentially, to add new stacks you first create an overlay. Then you either create and merge your own rosinstall file that contains the stacks you want to install, use roslocate or check out the stacks manually into a 'sandbox' directory that is in your ROS_PACKAGE_PATH.

Edit: I guess the problem is that your computer doesn't know about the required googlecode certificate and rejects to check it out. Try checking it out manually (I assume that you created a sandbox directory as shown on the wiki page):

cd ~/fuerte_workspace/sandbox
hg clone "https://phidget.foote-ros-pkg.googlecode.com/hg" /home/lennart/fuerte_workspace/phidgetspp_c_api

After that it should be available in the workspace already.

edit flag offensive delete link more
1

answered 2012-08-29 21:37:27 -0500

wcaarls gravatar image

The certificate error is related to phidget being a subrepository of foote-ros-pkg, which is not covered by the googlecode certificate. The following URL works correctly:

https://code.google.com/p/foote-ros-pkg.phidget/

The indexer should probably be changed to point to this URL instead.

edit flag offensive delete link more
0

answered 2012-08-12 03:04:12 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Usually, when a script is executed, it is run in a separate terminal. when the script gets over, the control is returned into the parent terminal. Sourcing means, executing a script in the current terminal. Source setup.bash (setup being at the specified location) means your bash (the terminal where you are typing all the commands on), will 'source' the setup.bash. Setup.bash is the script that let's you use all the ros commands etc After each install, you need to re-source the script to let all your bash commands know, that the environment have changed.

I am a learner, new to ros as well, don't know much. What i do know is, that sourcing the specified script after doing a ros install and before doing a rosmake is what get's it to work.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-11 05:27:56 -0500

Seen: 514 times

Last updated: Aug 29 '12