Hi MichaelOlson, thanks for your reply 🙂 the installation worked fine and we were able to install everything.
Now we are running into another problem:
On the DevPC the node (dephtai_ros_driver) is running perfectly fine and all the needed data (Image and Pointcloud2) are visible in Rviz2. The data gets published with ~30 Hz. On the Jetson the same launch file is used and it's running:
jetson@uiabot5:~/dai_ws$ ros2 launch depthai_ros_driver pointcloud.launch.py params_file:=/home/jetson/dai_ws/install/depthai_ros_driver/share/depthai_ros_driver/config/pcl_min.y
aml
[INFO] [launch]: All log files can be found below /home/jetson/.ros/log/2025-11-25-11-16-48-435733-uiabot5-4144
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [component_container-1]: process started with pid [4163]
[component_container-1] [INFO] [1764065809.119235250] [oak_container]: Load Library: /opt/ros/humble/lib/librobot_state_publisher_node.so
[component_container-1] [INFO] [1764065809.125354527] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<robot_state_publisher::RobotStatePublisher>
[component_container-1] [INFO] [1764065809.125436544] [oak_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<robot_state_publisher::RobotStatePublisher>
[component_container-1] [INFO] [1764065809.148130717] [oak_state_publisher]: got segment oak
[component_container-1] [INFO] [1764065809.148279199] [oak_state_publisher]: got segment oak-d-base-frame
[component_container-1] [INFO] [1764065809.148315615] [oak_state_publisher]: got segment oak_imu_frame
[component_container-1] [INFO] [1764065809.148336992] [oak_state_publisher]: got segment oak_left_camera_frame
[component_container-1] [INFO] [1764065809.148356032] [oak_state_publisher]: got segment oak_left_camera_optical_frame
[component_container-1] [INFO] [1764065809.148373632] [oak_state_publisher]: got segment oak_model_origin
[component_container-1] [INFO] [1764065809.148395200] [oak_state_publisher]: got segment oak_rgb_camera_frame
[component_container-1] [INFO] [1764065809.148412672] [oak_state_publisher]: got segment oak_rgb_camera_optical_frame
[component_container-1] [INFO] [1764065809.148430017] [oak_state_publisher]: got segment oak_right_camera_frame
[component_container-1] [INFO] [1764065809.148446593] [oak_state_publisher]: got segment oak_right_camera_optical_frame
[component_container-1] [INFO] [1764065809.155545850] [oak_container]: Load Library: /home/jetson/dai_ws/install/depthai_ros_driver/lib/libdepthai_ros_driver.so
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/oak_state_publisher' in container '/oak_container'
[component_container-1] [INFO] [1764065809.328051887] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-1] [INFO] [1764065809.329546690] [oak_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-1] [INFO] [1764065809.341185556] [oak_container]: Load Library: /opt/ros/humble/lib/libdepth_image_proc.so
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/oak' in container '/oak_container'
[component_container-1] [INFO] [1764065809.350694379] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depth_image_proc::ConvertMetricNode>
[component_container-1] [INFO] [1764065809.351826553] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depth_image_proc::CropForemostNode>
[component_container-1] [INFO] [1764065809.352487618] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depth_image_proc::DisparityNode>
[component_container-1] [INFO] [1764065809.353088265] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depth_image_proc::PointCloudXyzNode>
[component_container-1] [INFO] [1764065809.353652720] [oak_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<depth_image_proc::PointCloudXyzNode>
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/point_cloud_xyz' in container 'oak_container'
[component_container-1] [INFO] [1764065810.343766101] [oak]: Starting camera.
[component_container-1] [INFO] [1764065810.348790420] [oak]: No ip/mxid specified, connecting to the next available device.
[component_container-1] [INFO] [1764065812.794675629] [oak]: Camera with MXID: 1944301031787E4800 and Name: 1.2.1.3 connected!
[component_container-1] [INFO] [1764065812.795665049] [oak]: USB SPEED: SUPER
[component_container-1] [INFO] [1764065812.842432962] [oak]: Device type: OAK-D-PRO-W
[component_container-1] [INFO] [1764065812.845744747] [oak]: Pipeline type: RGBD
[component_container-1] [INFO] [1764065813.331573344] [oak]: Finished setting up pipeline.
[component_container-1] [INFO] [1764065814.778476681] [oak]: Camera ready!
when we check the "ros2 topic hz" this is the output:
jetson@uiabot5:~/dai_ws$ ros2 topic hz /oak/points
average rate: 0.466
min: 2.112s max: 2.178s std dev: 0.03280s window: 2
average rate: 0.472
min: 2.059s max: 2.178s std dev: 0.04853s window: 3
average rate: 0.483
min: 1.926s max: 2.178s std dev: 0.09274s window: 4
jetson@uiabot5:~/dai_ws$ ros2 topic hz /oak/stereo/image_raw
WARNING: topic [/oak/stereo/image_raw] does not appear to be published yet
average rate: 3.245
min: 0.104s max: 0.526s std dev: 0.13920s window: 5
average rate: 2.845
min: 0.104s max: 0.572s std dev: 0.13942s window: 8
average rate: 3.263
min: 0.104s max: 0.572s std dev: 0.13681s window: 13
jetson@uiabot5:~/dai_ws$ ros2 topic hz /oak/rgb/image_raw
average rate: 0.813
min: 0.372s max: 2.932s std dev: 1.20344s window: 3
average rate: 0.426
min: 0.372s max: 5.703s std dev: 2.19959s window: 4
average rate: 0.442
min: 0.372s max: 5.703s std dev: 2.03872s window: 6
jetson@uiabot5:~/dai_ws$
we already tried to reduce the resolution in the launch file:
/**:
ros__parameters:
camera:
i_nn_type: 'none'
i_pipeline_type: 'RGBD'
pipeline_gen: i_enable_imu: false
left: i_resolution: '400P'i_fps: 30.0
right: i_resolution: '400P' i_fps: 30.0
stereo: i_resolution: '400P' i_align_depth: true i_fps: 30.0
i_subpixel: true i_lr_check: false i_extended_disparity: false
The image is visible in Rviz2 but not the Pointcloud2. The image is updating very slowly (nearly every 40 seconds). Is the Pointcloud not visible because of the low publishing speed? Does anyone know how we can achieve a faster image/pointcloud update?
Is the Jetson too weak for that (it's already running in performance mode and with the top command it doesn't look too busy; so the performance is probably not the problem)?