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.
On Sun, Jan 23, 2011 at 8:51 PM, Soo-Hyun Yoo <email@example.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
> firstname.lastname@example.org > https://code.ros.org/mailman/listinfo/ros-users >
This message was posted to the following mailing lists: