Re: [ros-users] Latency of subscriber callback for large amo…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Latency of subscriber callback for large amount of data
Thanks a lot!
It works!

- Yoonsoo

2011/10/13 Troy Straszheim <>

> Thanks for the reproducable bug report... I get the same behavior, so
> long as the packets are small enough.. above 10k or so I don't see
> this behavior. This looks like like Nagel's algorithm at work, try
> setting TCP_NODELAY on the subscriber, like this:
>
> #include <ros/transport_hints.h>
> ros::Subscriber sub = n.subscribe("chatter", 1000, chatterCallback,
>
> ros::TransportHints().tcpNoDelay());
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>