I am using Realsense D435. While I am running its ros wrapper alone the publishing rate is 30 HZ like it should be. then I run deepstream 6 ros node and the publishing rate of a realsense drops to 12 Hz. What is the explanation to that and how to fix that.
open terminal01: ros2 launch realsense2_camera rs_launch.py
-open terminal02: ros2 topic hz /camera/color/image_raw you will see 25-30hz which is fine by me
open terminal03: run another node that uses this topic and you will see slow drop towards 12hz in the terminal02