Я изучаю ROS (для начинающих) и пытаюсь получить доступ к своей веб-камере
Я пытаюсь использовать модуль cv_camera здесь
http://wiki.ros.org/cv_camera
Эта линия отлично работает
rosparam set cv_camera/device_id 0
Но я получаю следующую ошибку в этой строке
rosrun cv_camera cv_camera_node
[rospack] Error: package 'cv_camera' not found
Должен ли я что-то установить или что-то пропустил?
Вот моя борьба за вывод терминала (может быть полезным)
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ source devel/setup.bash
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ source /opt/ros/kinetic/setup.bash
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ rosparam set cv_camera/device_id 1
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ rosrun cv_camera cv_camera_node
[rospack] Error: package 'cv_camera' not found
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ echo $ROS_PACKAGE_PATH
/opt/ros/kinetic/share
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ source devel/setup.bash
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ echo $ROS_PACKAGE_PATH
/home/huzeyfe/catkin_ws/src:/opt/ros/kinetic/share
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ rosrun cv_camera cv_camera_node
[rospack] Error: package 'cv_camera' not found
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ rosparam set cv_camera/device_id 1
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ rosrun cv_camera cv_camera_node
[rospack] Error: package 'cv_camera' not found
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ rospack profile
Full tree crawl took 0.018304 seconds.
Directories marked with (*) contain no manifest. You may
want to delete these directories.
To get just of list of directories without manifests,
re-run the profile with --zombie-only
-------------------------------------------------------------
0.016891 /opt/ros/kinetic/share
0.000488 * /opt/ros/kinetic/share/OpenCV-3.3.1-dev
0.000077 * /opt/ros/kinetic/share/OpenCV-3.3.1-dev/haarcascades
0.000056 * /opt/ros/kinetic/share/OpenCV-3.3.1-dev/lbpcascades
0.000042 * /home/huzeyfe/catkin_ws/src
0.000038 * /opt/ros/kinetic/share/doc
0.000007 * /opt/ros/kinetic/share/doc/liborocos-kdl
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ rosrun cv_camera cv_camera_node
[rospack] Error: package 'cv_camera' not found
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$ echo $ROS_PACKAGE_PATH
/home/huzeyfe/catkin_ws/src:/opt/ros/kinetic/share
huzeyfe@huzeyfe-Aspire-5755G:~/catkin_ws$