Hardware : Zed Mini , Zed Box Orin.
Using 3.0 cable.
Software: ROS2 Humble,
zed_ros2_wrapper.
Using HD720 resolution
At 30 FPS.
Subscringing left, right, depth compressed topics, and writing them into storage using GitHub - berndpfrommer/rosbag2_composable_recorder: ROS2 package that allows recording without interprocess communication
Average fps from all 3 topics are same 25.4, 26,5 something like this not 30fps.
Used debug log for it and detected that ,ros2 wrapper is publishing at 15 hz every 5-6 frames.
and it is making fps drop for average.
Using jetson in full power mode , jetson_clocks activated.
In jtop 30% cpu load and 50-60 % gpu.
Using openni mode 24-bitrate.
What can be cause of it?
Any suggestion could help me to solve issue.
Hi @Myzhar , I am writing to mcap using rosbag2 composable recorder. and mcap info showing that it is 24 - 25 fps. Also while running ros2_zed_wrapper , using debug for visualize HZ of publishing images. It is showing 15HZ after 4-5 30 HZ . How to check internal processing frequency?
Also checked with using uncompressed images same error happened and mean fps is 27-28.
This confirms that the CPU is overloaded and cannot handle all the tasks (compression, recording, etc) simultaneously.
When the CPU is not overloaded, the Tot. Processing Time: is lower than the capture period.
In your case, it’s exceeding the capture period by a ~28.5% rate.
Have you tried to connect another device to the ZED Box with ethernet cable and to perform the recording on it to reduce the amount of CPU load while capturing the data?
Also read this section of the documentation that can allow you to reduce the amount of load caused by the ROS 2 middleware communication: