Ask Your Question

Astra camera on noetic and Ubuntu Focal

asked 2020-09-14 07:22:38 -0500

ArtUrlWWW gravatar image


I am totaly newbie in ROS and I jsut trying to use my ROS camera, that I just receiced :). is down now, so I deciced to use ROS for my ROS camera. I've installed ROS as described in and followed instructions for Astra camera - this and this .

First question is that command sudo apt install ros-$ROS_DISTRO-rgbd-launch ros-$ROS_DISTRO-libuvc ros-$ROS_DISTRO-libuvc-camera ros-$ROS_DISTRO-libuvc-ros unable to find libuvc packages for ROS:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-noetic-libuvc
E: Unable to locate package ros-noetic-libuvc-camera
E: Unable to locate package ros-noetic-libuvc-ros

How to install them on ROS noetic?

The second one question: When I am running

cd ~/catkin_ws catkin_make --pkg astra_camera

I got build errors, I think, it's because apt unable to install libuvc packages:

devusr@devusr-virtual-machine:~/catkin_ws$ catkin_make --pkg astra_camera
Base path: /home/devusr/catkin_ws
Source space: /home/devusr/catkin_ws/src
Build space: /home/devusr/catkin_ws/build
Devel space: /home/devusr/catkin_ws/devel
Install space: /home/devusr/catkin_ws/install
#### Running command: "make cmake_check_build_system" in "/home/devusr/catkin_ws/build"
-- Using CATKIN_DEVEL_PREFIX: /home/devusr/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/devusr/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/devusr/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.2", minimum required is "3") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/devusr/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.2") 
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.8
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - astra_camera
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'astra_camera'
-- ==> add_subdirectory(ros_astra_camera)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at ros_astra_camera/CMakeLists.txt:8 (find_package):
  By not providing "Findlibuvc.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "libuvc", but
  CMake did not find one.

  Could not find a package configuration file provided by "libuvc" with any
  of the following names:


  Add the installation prefix of "libuvc" to CMAKE_PREFIX_PATH or set
  "libuvc_DIR" to a directory containing one of the above files.  If "libuvc"
  provides a separate development package or SDK, be sure it has been

-- Configuring incomplete, errors occurred!
See also "/home/devusr/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/devusr/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:320: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Tell me please how to solve this issue?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-09-15 23:20:22 -0500

Josh Whitley gravatar image

You are correct that the build errors are due to the missing libuvc_ros package. This is because the package has not bed released for ROS Noetic. However, libuvc_ros is mostly just a wrapper package around the libuvc library, which is available in Ubuntu. Try the following:

  1. Install libuvc-dev with apt.
  2. Clone into your workspace's src folder, along side the Astra driver.
  3. Build the workspace with just catkin_make (which will build all packages in the workspace).

If this works, consider contacting the maintainer of libuvc_ros on Github and asking them to release the package for Noetic.

edit flag offensive delete link more

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


Asked: 2020-09-14 07:22:38 -0500

Seen: 37 times

Last updated: Sep 15