Intel Realsense librealsense

Hello all, i want to use librealsense and the ros-wrapper but it’s not possible to install this on the Debian Version, provided with the raspian-image.

Does anybody know a way to handle this?

Thank you

Hi Georg,

Welcome to the community forum!

You can install additional ROS packages on your Navio2 by following the steps indicated in this community forum thread:

We’ll add this instruction to the docs soon. For now, please, let us know if you’re having difficulties with it.

Thank you very much! Sorry, i’m quite new to ros / would the right command be:

bash install-ROS-packages.sh “realsense2-camera ros-kinetic-realsense2-camera”

Hi Georg,

To install additional ROS packages, follow the steps below:

  1. Clone our repository

git clone https://github.com/emlid/Navio2.git
cd Navio2

  1. Move to the folder with the script for ROS packages

cd Utilities/ROS-packages

  1. Install the required package

sudo apt-get update
bash install-ROS-packages.sh "your_package_name"

In your case, the your_package_name parameter should be set to realsense2-camera ros-kinetic-realsense2-camera.

This instruction is also given in our Navio2 docs. You can check them out in Installing additional packages section.

So i get this error:

Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://files.emlid.com/navio2/debian buster InRelease
Hit:4 http://packages.ros.org/ros/ubuntu buster InRelease
Reading package lists… Done
W: Skipping acquire of configured file ‘non-free/source/Sources’ as repository ‘http://files.emlid.com/navio2/debian buster InRelease’ does not seem to provide it (sources.list entry misspelt?)
W: Skipping acquire of configured file ‘main/source/Sources’ as repository ‘http://files.emlid.com/navio2/debian buster InRelease’ does not seem to provide it (sources.list entry misspelt?)

  • pip install -U future
    Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
    Cache entry deserialization failed, entry ignored
    Cache entry deserialization failed, entry ignored
    Requirement already up-to-date: future in /usr/local/lib/python2.7/dist-packages (0.18.2)
  • sudo apt -y install --fix-missing python3-catkin-pkg python3-rosdistro python3-rosinstall-generator python3-rosdep
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-rosdep : Depends: python3-rospkg but it is not going to be installed
Depends: python3-rosdep-modules (>= 0.21.0) but it is not going to be installed
python3-rosinstall-generator : Depends: python3-rospkg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

can you give me a hint, what could be wrong?

Hi Georg,

You may run sudo apt upgrade and try to install the ROS package using our script once again.

Also, the current Navio2 Raspbian image supports ROS Noetic. So, you need to use realsense2-camera ros-noetic-realsense2-camera instead.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.