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 imagetfoote ( 2011-02-14 16:30:50 -0600 )edit
0

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

antop gravatar image

Take a look at rgbd_throttle node in this package: ros_utils

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 625 times

Last updated: Feb 14 '11