ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Synchronize throttling

asked 2011-02-14 16:29:45 -0600

Tully gravatar image

Does the throttle node under topic_tools support synchronized throttling? I have a stereo camera and I'm logging left/image_rect, right/image_rect and the relevant camera info topics. Is there an easy way to log at a slower rate and keep all the messages in sync?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-02-14 16:30:32 -0600

tfoote gravatar image

Unfortunately topic_tools does not support synchronized throttling. Can you open a ticket to make sure this gets tracked?

I don't have an easier solution for you than hand-rolling a node to subscribe to the four topics, synchronized, and republish them at a slower rate.

edit flag offensive delete link more

Comments

Just to save you a tiny bit of rewrite time, if you look in https://code.ros.org/svn/wg-ros-pkg/branches/trunk_cturtle/sandbox/grasp_playpen/src I do the same thing (subscribe, synchronize, republish) for the PR2's narrow and wide stereo cameras in throttle_stereo.cpp . I also wrote a modified version of rxbag's recorder.py that does throttled recording of a list of topics at different rates from (Python) code, which is in grasp_playpen/src/grasp_playpen, in case that's useful to you.
tfoote gravatar image tfoote  ( 2011-02-14 16:30:50 -0600 )edit
0

answered 2017-07-20 03:53:57 -0600

antop gravatar image

updated 2022-07-26 15:12:05 -0600

lucasw gravatar image

Take a look at rgbd_throttle node in this package: ros_utils

edit flag offensive delete link more

Comments

I updated the ros_utils link, the other link didn't work

lucasw gravatar image lucasw  ( 2022-07-26 15:12:21 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2011-02-14 16:29:45 -0600

Seen: 1,540 times

Last updated: Jul 26 '22