You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want the realsense camera don't publish some specific topics, i.e.: don't publish "camera/color/image_rect_raw" but only publish
"camera/color/image_rect_raw/compressed".
Why I want to do this?
I want to reduce the resource consumption of the ros2 system. Therefore, it may be better to avoid publishing unused topics.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Pittmann-XIE
changed the title
How to let ros-realsense2 stop publish unnecessary topics
How to let ros-realsense2 stop publishing some topics
Dec 20, 2024
Hi @Pittmann-XIE You can unsubscribe from specific topics after launch, though it is somewhat complicated to do so. References about creating an unsubscription mechanism can be found at #1909 (comment)
Issue Description
Goal
I want the realsense camera don't publish some specific topics, i.e.: don't publish "camera/color/image_rect_raw" but only publish
"camera/color/image_rect_raw/compressed".
Why I want to do this?
I want to reduce the resource consumption of the ros2 system. Therefore, it may be better to avoid publishing unused topics.
Thanks in advance!
The text was updated successfully, but these errors were encountered: