[ros-users] ros::spinOnce() equivalent for rospy?

Soo-Hyun Yoo yoos117 at gmail.com
Mon Jan 24 05:05:47 UTC 2011


Thank you.

Soo-Hyun Yoo

On Sun, Jan 23, 2011 at 9:01 PM, Ken Conley <kwc at willowgarage.com> wrote:

> You don't need spinOnce in rospy as the I/O is multithreaded.
>
> You can use the Rate object to contrain the rate of processing, though
> it does not have the same effect as spinOnce in roscpp.
>
>  - Ken
>
> On Sun, Jan 23, 2011 at 8:51 PM, Soo-Hyun Yoo <yoos117 at gmail.com> wrote:
> > Hello,
> > Is there an equivalent of ros::spinOnce() for rospy? I would like to use
> > spinOnce() and Rate() to "run" a Subscriber at a capped rate, but I am
> using
> > Python and could not find the equivalent function in Python.
> > Soo-Hyun Yoo
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110123/40fc6acd/attachment-0003.html>


More information about the ros-users mailing list