Ask Your Question
1

How to get an Orbbec Astra Pro depth camera working on a Raspberry Pi? Unable to locate packages.

asked 2019-10-30 10:39:09 -0600

Py_J gravatar image

Hi all,

I am having a bit of trouble getting an Orbbec Astra Pro depth camera up and running through ROS Kinetic on a Raspberry Pi. These are the instructions I am following:

https://github.com/orbbec/ros_astra_c...

As shown in the terminal info below, I am unable to locate the dependency packages. I have tried sudo apt-get update and then sudo apt-get upgrade as well as rosdep update, but the dependencies still cannot be found.

Does anybody have any ideas on what I could be missing?

Thanks :)

pi@raspberrypi:~ $ sudo apt-get install ros-$ROS_DISTRO-rgbd-launch ros-$ROS_DISTRO-libuvc ros-$ROS_DISTRO-libuvc-camera ros-$ROS_DISTRO-libuvc-ros
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-rgbd-launch
E: Unable to locate package ros-kinetic-libuvc
E: Unable to locate package ros-kinetic-libuvc-camera
E: Unable to locate package ros-kinetic-libuvc-ros
edit retag flag offensive close merge delete

Comments

Which OS is installed on your raspberry ?

Delb gravatar imageDelb ( 2019-10-30 11:06:17 -0600 )edit

I believe it's Raspian. This might give a bit more info though:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
Py_J gravatar imagePy_J ( 2019-10-30 11:45:46 -0600 )edit

Can you show the output of lsb_release -a instead please ?

Delb gravatar imageDelb ( 2019-10-31 03:40:49 -0600 )edit

Here you go:

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.11 (stretch)
Release:    9.11
Codename:   stretch
Py_J gravatar imagePy_J ( 2019-10-31 07:50:23 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-10-31 08:12:58 -0600

Delb gravatar image

From the kinetic installation wiki page :

ROS Kinetic ONLY supports Jessie (Debian 8) for debian packages.

Since you have Stretch (Debian 9) you have to use melodic and not kinetic. Your package is compatible with both versions so that won't be an issue but I don't get why the ros env variable $ROS_DISTRO is evaluated as kinetic, have you manually set it ?

edit flag offensive delete link more

Comments

I didn't manually set the ROS env variable to $ROS_DISTRO=kinetic To install the OS with ROS packages pre-installed, I followed these instructions, which may give some insight:

(http://emanual.robotis.com/docs/en/pl...)

Py_J gravatar imagePy_J ( 2019-10-31 08:35:16 -0600 )edit

Thanks for pointing the tutorial, so you have installed the raspbian image given in the tutorial ? If so you might not be able to install your package as desired. You should download the official raspbian image instead of their image (you might want to avoid using the latest Raspbian Buster, all packages might not be built for this version yet)

Delb gravatar imageDelb ( 2019-10-31 08:50:15 -0600 )edit

Yes that's right. OK great, I'll give that a try.

Py_J gravatar imagePy_J ( 2019-10-31 09:57:39 -0600 )edit

So would there a way to convince rosdep and apt to use the "melodic" repo for kinetic ros since it can't find any kinetic package anyhow? I mean the last version for rgbd-launch is listed as jade on github for example, it's not like there's been an actual functional difference in these packages for years. The only thing we need is an ARM compiled version. I'm not really able to switch to melodic for a list of reasons a mile long.

I've been trying to compile these dependencies from source but it's not really possible since two of them don't even have github repos and the rest can't have their own dependencies resolved by rosdep because of the same problem as we have for these

MoffKalast gravatar imageMoffKalast ( 2019-11-16 12:15:44 -0600 )edit

If you can't find the kinetic package, then it's just that they aren't available and you need to build them from source.

About the rgbd_launch package it is indeed listed as jade but it's just a branch name. You should look the ros package status for every ros version to find which packages are available or not.

Delb gravatar imageDelb ( 2019-11-16 18:14:12 -0600 )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

1 follower

Stats

Asked: 2019-10-30 10:39:09 -0600

Seen: 31 times

Last updated: Oct 31