DepthAI v2 has been superseded by DepthAI v3. You are viewing legacy documentation.
此页面由 AI 自动翻译。查看英文原版

DepthAI ROS 驱动程序可视化 (ROS2)

要可视化 DepthAI ROS 驱动程序数据,我们推荐使用 Foxglove Studio。这是一个免费工具,允许您在网页浏览器中可视化 ROS2 数据。 入门的最佳方式是遵循 Foxglove Studio 快速入门在使用 ROS2 时,检查数据的最佳方法是将 Foxglove bridge 服务器加载到运行 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