ROS package ROS_ astra_ Camera cannot open RGB lens
https://github.com/orbbec/ros_ astra_ Camera
the official document mentions opening depth and RGB lens with the following command:
roslaunch Astra_ camera stereo_ s.launch
After executing the above command, use rqt_ image_ View can see the depth image, but not the RGB image, and an error is reported:
[camera / stereo]_ s-2] process has died [pid 8255, exit code 255, cmd /home/riki/gxb_ workspace/devel/lib/astra_ camera/camera_ node /camera/image_ raw:=/camera/rgb/image_ raw __ name:=stereo_ s __ log:=/home/riki/.ros/log/071dba06-7bcb-11eb-a85a-000c293dff09/camera-stereo_ s-2.log].
log file: /home/riki/.ros/log/071dba06-7bcb-11eb-a85a-000c293dff09/camera-stereo_ s-2*.log
The solution: open stereo_ s. In the launch file, change the value in this line to your device’s camera number. For example, my device’s camera number is 0x0502, so you can open the RGB lens.
The camera number can be viewed through lsusb command:
gxb_ workspace/src/ros_ astra_ camera/launch$ lsusb
Bus 001 Device 004: ID 2bc5:0403
Bus 001 Device 003: ID 2bc5:0502
Bus 001 Device 002: ID 04f2:b64f Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Read More:
- Solution to the problem that the camera can’t display when ROS running
- ROS cannot download ROS melody joint state publisher GUI reference
- When installing ROS: bash / opt / ROS / kinetic/ setup.bash : there is no file or directory
- Error in ROS installation function package bionic / main AMD64
- ROS problem: vidioc_ S_ FMT error 16, Device or resource busy
- VIDEOIO ERROR: V4L: can’t open camera by index 0
- Running realsense ROS reports an error, USB cam overflow, hardware error
- Troubleshooting of ROS rosdep init / update
- Solution to the failure of ROS noetic initialization (rosdep init)
- Ultimate solution to error reporting of sudo rosdep init of ROS
- Ubuntu 20.04 GPG: KeyServer receive failed: connection timed out when installing ROS configuration key
- Err:1 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xxxxxx 404 Not Found [IP: 101.6.8.193 80]
- When configuring ROS distributed / Error report solution and command requirements encountered in the process of master-slave computer
- How to Fix error reported by rqt_plot tool in ROS
- bash: /opt/ros/kinetic/ setup.bash : there is no file or directory
- Start rqt_ Graph, prompt / opt / ROS / melody / share / PR2_ motor_ diagnostic_ Under tool plugin.xml There is something wrong with the file
- Qxcbcconnection: xcb error: 148 error while ROS is running rviz
- About the reason why the Raspberry Pi raspistill command cannot find the camera
- Raspberry Pi USB drive-free camera error libv4l2: error setting pixformat: Device or resource busy, etc.
- Why can’t I open the R tidyverse package after installation