Ask Your Question
0

Rosinstall fails for openni drivers

asked 2012-05-29 18:35:32 -0500

rosmaker gravatar image

updated 2012-05-30 06:58:03 -0500

joq gravatar image

I use Ubuntu 11.10 and I try to communicate to a Kinect sensor (the kinect is connected). I followed the instruction from http://www.ros.org/wiki/openni_kinect and get some problems.

cd openni && make
make[1]:Entering directory '/root/drivers/openni'
git clone https://github.com/OpenNI/OpenNI.git build/openni
Cloning into build/openni...
remote: Counting objects: 4866, done.
remote: Compressing objects: 100% (2064/2064), done.
fatal: The remote end hung up unexpectedly MiB | 1 kiB/s
fatal: early EOF
fatal: index-pack failed
make[1]: ***[build/openni] Error 128
make[1]: Leaving directory '/root/drivers/openni'
make: *** [openni_lib] Error 2
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-05-30 08:10:08 -0500

tfoote gravatar image

That looks like GitHub had a hiccup or your network connection. It should work when the issues is resolved. And as @Mac says it's recommended to use the binary installs when possible.

edit flag offensive delete link more
1

answered 2012-05-29 19:42:21 -0500

Mac gravatar image

I'd suggest installing them from binaries instead: apt-get install ros-fuerte-openni-kinect

Also, when you are building parts of ROS from source, you shouldn't do it as root.

edit flag offensive delete link more

Comments

is this avaliable for debian - I'm getting an error unable to locate package? - Thanks M

MarkyMark2012 gravatar image MarkyMark2012  ( 2012-05-30 21:25:47 -0500 )edit

For actually-Debian, not Ubuntu?

Mac gravatar image Mac  ( 2012-05-31 06:48:13 -0500 )edit

Debian:squeeze specifically

MarkyMark2012 gravatar image MarkyMark2012  ( 2012-05-31 11:33:44 -0500 )edit

So far as I know, .debs are only built for Ubuntu, so a source install is the way to go. I like @tfoote's idea that this is a github hiccup, and you should try again (see also: don't build ROS nodes as root).

Mac gravatar image Mac  ( 2012-06-01 08:05:35 -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: 2012-05-29 18:35:32 -0500

Seen: 317 times

Last updated: May 30 '12