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

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: [ros-users] ros::spinOnce() equivalent for rospy?
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