Re: [ros-users] Timers in rospy?

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: 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