Thank you.<div><br></div><div>Soo-Hyun Yoo<br><br><div class="gmail_quote">On Sun, Jan 23, 2011 at 9:01 PM, Ken Conley <span dir="ltr"><<a href="mailto:kwc@willowgarage.com">kwc@willowgarage.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You don't need spinOnce in rospy as the I/O is multithreaded.<br>
<br>
You can use the Rate object to contrain the rate of processing, though<br>
it does not have the same effect as spinOnce in roscpp.<br>
<br>
 - Ken<br>
<div><div></div><div class="h5"><br>
On Sun, Jan 23, 2011 at 8:51 PM, Soo-Hyun Yoo <<a href="mailto:yoos117@gmail.com">yoos117@gmail.com</a>> wrote:<br>
> Hello,<br>
> Is there an equivalent of ros::spinOnce() for rospy? I would like to use<br>
> spinOnce() and Rate() to "run" a Subscriber at a capped rate, but I am using<br>
> Python and could not find the equivalent function in Python.<br>
> Soo-Hyun Yoo<br>
</div></div>> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br></div>