Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Astra camera on noetic and Ubuntu Focal

Hello.

I am totaly newbie in ROS and I jsut trying to use my ROS camera, that I just receiced :). https://orbbec3d.com/develop/ is down now, so I deciced to use ROS for my ROS camera. I've installed ROS as described in http://wiki.ros.org/Installation/Ubuntu and followed instructions for Astra camera - this http://wiki.ros.org/astra_camera and this https://github.com/orbbec/ros_astra_camera .

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/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- 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
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  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:

    libuvcConfig.cmake
    libuvc-config.cmake

  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
  installed.


-- 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?