mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 03:57:46 +08:00
Add troubleshooting section for femto bolt depth stream issues related to OpenGL
This commit is contained in:
@@ -62,3 +62,16 @@ Multi-camera systems place high demands on USB bandwidth and device initializati
|
|||||||
When invoking stream control services (such as `set_streams_enable`, `toggle_depth`, and `toggle_color`), avoid triggering multiple service calls at the same time. Instead, introduce a reasonable interval between operations (e.g., **20 ms**) to ensure reliable stream state transitions.
|
When invoking stream control services (such as `set_streams_enable`, `toggle_depth`, and `toggle_color`), avoid triggering multiple service calls at the same time. Instead, introduce a reasonable interval between operations (e.g., **20 ms**) to ensure reliable stream state transitions.
|
||||||
|
|
||||||
Following these timing control guidelines can significantly improve the stability of multi-camera systems during startup and runtime, reducing errors and unexpected behavior.
|
Following these timing control guidelines can significantly improve the stability of multi-camera systems during startup and runtime, reducing errors and unexpected behavior.
|
||||||
|
### femto bolt depth stream no data
|
||||||
|
|
||||||
|
This module depends on the OpenGL library at runtime. If OpenGL is not installed or the graphics driver is incomplete, the depth stream may output no data. Please make sure to install the necessary OpenGL libraries first (Ubuntu example below):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt update && sudo apt install -y mesa-utils libgl1-mesa-glx libglu1-mesa
|
||||||
|
```
|
||||||
|
|
||||||
|
After installation, you can check whether OpenGL is available through the following command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
glxinfo -B
|
||||||
|
```
|
||||||
|
|||||||
@@ -40,11 +40,13 @@
|
|||||||
如果启动文件未显式指定要使用的设备,在同时连接多台相机时,驱动会默认连接到其中一个(默认设备)。
|
如果启动文件未显式指定要使用的设备,在同时连接多台相机时,驱动会默认连接到其中一个(默认设备)。
|
||||||
|
|
||||||
可以先通过以下命令查看设备序列号:
|
可以先通过以下命令查看设备序列号:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ros2 run orbbec_camera list_devices_node
|
ros2 run orbbec_camera list_devices_node
|
||||||
```
|
```
|
||||||
|
|
||||||
然后在启动时显式指定序列号,例如:
|
然后在启动时显式指定序列号,例如:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ros2 launch orbbec_camera femto_bolt.launch.py serial_number:=CL8H741005J
|
ros2 launch orbbec_camera femto_bolt.launch.py serial_number:=CL8H741005J
|
||||||
```
|
```
|
||||||
@@ -62,3 +64,16 @@ ros2 launch orbbec_camera femto_bolt.launch.py serial_number:=CL8H741005J
|
|||||||
在调用开关流相关服务(如 `set_streams_enable`、`toggle_depth`、`toggle_color`)时,不建议同时触发多个接口调用,应在各操作之间设置合理的时间间隔(例如 **20 ms**),以保证流状态切换的可靠性。
|
在调用开关流相关服务(如 `set_streams_enable`、`toggle_depth`、`toggle_color`)时,不建议同时触发多个接口调用,应在各操作之间设置合理的时间间隔(例如 **20 ms**),以保证流状态切换的可靠性。
|
||||||
|
|
||||||
遵循上述时序控制原则,有助于提升多相机系统在启动和运行过程中的稳定性,减少异常和不可预期行为的发生。
|
遵循上述时序控制原则,有助于提升多相机系统在启动和运行过程中的稳定性,减少异常和不可预期行为的发生。
|
||||||
|
### femto bolt 深度流无数据
|
||||||
|
|
||||||
|
该模组运行时依赖 OpenGL 库,若系统未安装或驱动不完整,将导致深度流无数据。请先安装 OpenGL 相关库(以 Ubuntu 为例):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt update && sudo apt install -y mesa-utils libgl1-mesa-glx libglu1-mesa
|
||||||
|
```
|
||||||
|
|
||||||
|
安装后可通过以下命令检查 OpenGL 是否可用:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
glxinfo -B
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user