Ask Your Question
0

Installing barrett_hand

asked 2019-10-07 14:05:30 -0500

dan98 gravatar image

updated 2019-10-07 15:30:37 -0500

gvdhoorn gravatar image

Hello,

I have installed ROS kinetic on a raspberry pi 4 and now I am trying to install the barret_hand package.

I referred to the link on ROS wiki https://wiki.ros.org/barrett_hand?dis... and used the command

$ sudo apt-get install ros-distro-barrett-hand

inside my ros workspace and I get the error

Unable to locate package ros-distro-barrett-hand

I also tried cloning the barrett_hand repository from github and used the "make" command inside the cloned directory and I get the error "no makefile found". I am not sure how to install this package.

Thanks,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-07 15:36:25 -0500

gvdhoorn gravatar image

updated 2019-10-07 15:38:40 -0500

I [..] used the command

$ sudo apt-get install ros-distro-barrett-hand

did you literally type in ros-distro-barrett-hand for the name of the package? If so, that is not what is meant there: the idea is that you replace distro with the name of your ROS distribution. Seeing as you state you installed ROS Kinetic, that would be:

sudo apt-get install ros-kinetic-barret-hand

However, having written that, be aware that you can only use apt to install additional packages if you've installed your base ROS with apt. If you built ROS from source (which may be the case, seeing as you mention an RPi 4), you cannot do this.

I also tried cloning the barrett_hand repository from github and used the "make" command inside the cloned directory and I get the error "no makefile found".

Two things:

  1. ROS packages are actually CMake packages. So you cannot use make directly with them. You'd have to at least run cmake first, but:
  2. Catkin packages require a certain nr of steps to build them from source in your workspace. Simply cloning them and then running catkin_make (or make) won't work. Refer to #q252478 for an example of that workflow.

Note again that if you've built ROS from source, you'll need a slightly different workflow (involving rosinstall_generator), but I won't go into that now until you describe what you used.

edit flag offensive delete link more

Comments

And related: #q320046.

gvdhoorn gravatar imagegvdhoorn ( 2019-10-07 15:38:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-10-07 14:05:30 -0500

Seen: 6 times

Last updated: Oct 07