-
Notifications
You must be signed in to change notification settings - Fork 114
Description
Gemini335 + orangepi ubuntu22
RK3588板子新装的ROS2 humble
直接克隆v2-main工程,按照README中流程配置:
sudo apt install libgflags-dev nlohmann-json3-dev \
ros-$ROS_DISTRO-image-transport ros-${ROS_DISTRO}-image-transport-plugins ros-${ROS_DISTRO}-compressed-image-transport \
ros-$ROS_DISTRO-image-publisher ros-$ROS_DISTRO-camera-info-manager \
ros-$ROS_DISTRO-diagnostic-updater ros-$ROS_DISTRO-diagnostic-msgs ros-$ROS_DISTRO-statistics-msgs \
ros-$ROS_DISTRO-backward-ros libdw-dev
cd ~/ros2_ws/src/OrbbecSDK_ROS2/orbbec_camera/scripts
sudo bash install_udev_rules.sh
sudo udevadm control --reload-rules && sudo udevadm trigger
cd ~/ros2_ws/
# build release, Default is Debug
colcon build --event-handlers console_direct+ --cmake-args -DCMAKE_BUILD_TYPE=Release
. ./install/setup.bash
ros2 launch orbbec_camera gemini_330_series.launch.py # or other launch file, see below table配置、编译过程都正常,但是运行后,执行ros2 topic list 发现只有
/parameter_events
/rosout
然后查看日志如下:
[INFO] [launch]: All log files can be found below /home/orangepi/.ros/log/2025-10-17-11-22-22-478235-orangepi5ultra-18044
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [component_container-1]: process started with pid [18056]
[component_container-1] [INFO] [1760671342.932834697] [camera.camera_container]: Load Library: /home/orangepi/projects/projector_robot_ces/ros2_ws/install/orbbec_camera/lib/liborbbec_camera.so
[component_container-1] [INFO] [1760671343.030177467] [camera.camera_container]: Found class: rclcpp_components::NodeFactoryTemplate<orbbec_camera::OBCameraNodeDriver>
[component_container-1] [INFO] [1760671343.030266133] [camera.camera_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<orbbec_camera::OBCameraNodeDriver>
[component_container-1] [INFO] [1760671343.040124658] [camera.camera]: setUvcBackendType:libuvc
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/camera/camera' in container '/camera/camera_container'
[component_container-1] [INFO] [1760671344.137498608] [camera.camera]: Connecting to the default device
[component_container-1] [INFO] [1760671344.326408706] [camera.camera]: Select device cost 188 ms
[component_container-1] [INFO] [1760671344.326761910] [camera.camera]: Try to connect device via USB2.1
[component_container-1] [INFO] [1760671344.327746859] [camera.camera]: OBCameraNode: use_intra_process: OFF
[component_container-1] [INFO] [1760671344.345042143] [camera.camera]: current time domain: global
[component_container-1] [INFO] [1760671344.345133725] [camera.camera]: hdr_index1_laser_control_ 1 hdr_index1_depth_exposure_ 1 hdr_index1_depth_gain_ 16 hdr_index1_ir_brightness_ 20 hdr_index1_ir_ae_max_exposure_ 2000
[component_container-1]
[component_container-1] [INFO] [1760671344.345173975] [camera.camera]: hdr_index0_laser_control_ 1 hdr_index0_depth_exposure_ 7500 hdr_index0_depth_gain_ 16 hdr_index0_ir_brightness_ 60 hdr_index0_ir_ae_max_exposure_ 10000
[component_container-1]
[component_container-1] [INFO] [1760671344.345209266] [camera.camera]: laser_index1_laser_control_ 0 laser_index1_depth_exposure_ 3000 laser_index1_depth_gain_ 16 laser_index1_ir_brightness_ 60 laser_index1_ir_ae_max_exposure_ 17000
[component_container-1]
[component_container-1] [INFO] [1760671344.345243683] [camera.camera]: laser_index0_laser_control_ 1 laser_index0_depth_exposure_ 3000 laser_index0_depth_gain_ 16 laser_index0_ir_brightness_ 60 laser_index0_ir_ae_max_exposure_ 30000
[component_container-1]
[component_container-1] [INFO] [1760671344.408362630] [camera.camera]: Setting heartbeat to OFF
[component_container-1] [INFO] [1760671344.409064665] [camera.camera]: Create align filter
[component_container-1] [ERROR] [1760671344.410242111] [camera.camera]: Failed to setup topics: Component 8 not found!
[component_container-1] [ERROR] [1760671344.410443068] [camera.camera]: Failed to initialize device (Attempt 1 of 3): Component 8 not found!
...
Please help!