Re: [ros-users] problem using TimeSynchronizer with two imag…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Dan Lazewatsky
Date:  
To: ros-users
Subject: Re: [ros-users] problem using TimeSynchronizer with two images
Thanks, that did the trick. One thing I'm still having trouble with is
getting transports other than raw to work with
image_transport::SubscriberFilter. If I pass
image_transport::TransportHints th(transport) to
image_transport::SubscriberFilter, where transport is "compressed" or
"theora", I never seem to get any data. rxgraph -t shows that my node is
connected to my image publisher on the right topic, but the callback
never gets called.

Thanks,
-Dan

On 3/11/10 5:11 PM, Patrick Mihelich wrote:
> On Thu, Mar 11, 2010 at 2:55 PM, Dan Lazewatsky
> < <mailto:lazewatskyd@cse.wustl.edu>> wrote:
>
>     On a related note, is there a way to use TimeSynchronizer with
>     image_transport rather than subscribing to the image directly?

>
>
> Use image_transport::SubscriberFilter
> <http://www.ros.org/doc/api/image_transport/html/classimage__transport_1_1SubscriberFilter.html>
> as a drop-in replacement for message_filters::Subscriber. It uses an
> image_transport subscriber under the hood.
>
> Cheers,
> Patrick
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>