Re: [ros-users] Timers in 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: Re: [ros-users] Timers in rospy?
On Wed, Feb 2, 2011 at 3:41 PM, Patrick Bouffard <
> wrote:


> Also I'm wondering why you use time.time() rather than
> rospy.Time.now() in a couple places?
>


I used time.time() when measuring the last callback duration. I did this to
mirror the roscpp timer implementation which specifies that this duration
"is always in wall-clock time."

I'm glad you found the code useful.

Tim