Hello,
I want to use the following ROS package: https://github.com/UbiquityRobotics/raspicam_node.
It requires some rosdep sources.
Either I need to use the prebuilt package ros-kinetic-raspicam-node (I don’t know if I can do that).
Or build from source (as a catkin package) but it requires the following packages: libraspberrypi0, libraspberrypi-dev
What I tried:
...
parts:
setup-packages:
plugin: nil
prepare: |
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository --yes ppa:ubuntu-raspi2/ppa
sudo apt-get update
sudo apt-get install --yes libraspberrypi0 libraspberrypi-dev
raspicam:
plugin: catkin
rosdistro: kinetic
rosinstall-files: [raspicam.rosinstall]
catkin-packages: [raspicam_node, my_other_package_using_raspicam]
after: [setup-packages]
build-packages: [libraspberrypi0, libraspberrypi-dev]
stage-packages: [libraspberrypi0, libraspberrypi-dev]
...
I see in the logs that the packages are installed correctly:
...
Pulling setup-packages
'raspicam' has dependencies that need to be staged: setup-packages
Skipping pull setup-packages (already ran)
Building setup-packages
...
libraspberrypi0 is already the newest version (1.20161003.2350bf2-1).
libraspberrypi-dev is already the newest version (1.20161003.2350bf2-1).
...
Staging setup-packages
But then I get this and I don’t understand why.
It looks like the staging of raspicam part doesn’t know the PPA repo that was added by the setup-packages part.
Hit http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Hit http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
Hit http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Ign http://packages.ros.org/ros/ubuntu xenial InRelease
Hit http://packages.ros.org/ros/ubuntu xenial Release
Ign http://packages.ros.org/ros/ubuntu xenial Release.gpg
Fetched 0 B in 0s (0 B/s)
Failed to fetch stage packages: Error downloading packages for part 'raspicam': The package 'libraspberrypi0' was not found..
Any help would be really appreciated. Thanks !