- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The rate at which the the topic /camera/depth/aligned_depth_to_color/image_raw , is published is about 29 Fps.
I want to reduce this rate to publish only twice per second.
How could I make this change ?
- Tags:
- Intel® RealSense
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My ROS coding knowledge is not very deep. My research indicates though that a node called Throttle is a way to limit publishing speed at roslaunch.
https://answers.ros.org/question/40304/creating-a-throttle-node/
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would ros :: Rate meet your needs, please?
http://docs.ros.org/diamondback/api/rostime/html/classros_1_1Rate.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response @MartyG .
Are you saying that I should subscribe to the "/camera/depth/aligned_depth_to_color/image_raw" topic (which is published after launching the rs_camera.launch file) from my own node and then republish it at a different rate ? Yes that could be a solution.
But wouldn't it be more efficient to change the rate at which the topics are published, from the scripts that are launched when the rs_camera launch file is launched in the first place?
I am not sure though where in the scripts included in that launch file is the publishing rate set .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My ROS coding knowledge is not very deep. My research indicates though that a node called Throttle is a way to limit publishing speed at roslaunch.
https://answers.ros.org/question/40304/creating-a-throttle-node/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are welcome. I'm very glad I could help. :)

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page