DepthAI v2 has been superseded by DepthAI v3. You are viewing legacy documentation.

DepthAI ROS Driver 可视化(ROS2)

要可视化 DepthAI ROS Driver 数据,我们推荐使用 Foxglove Studio。这是一款免费工具,允许您在网页浏览器中可视化 ROS2 数据。 最佳入门方式是遵循 Foxglove Studio 快速入门指南使用 ROS2 时,检查数据的最佳方式是将 Foxglove 桥接服务器加载到与运行 depthai_ros_driver 节点相同的容器中。 为此,您可以编辑或创建包含该桥接器的自定义启动文件(用于每次运行),或者通过 ROS 服务使用命令行启动桥接服务器。
Command Line
1ros2 launch depthai_ros_driver camera.launch.py
在另一个终端中:
Command Line
1ros2 component load /oak_container foxglove_bridge foxglove_bridge::FoxgloveBridge