Re: [ros-users] Timers in rospy?

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: User discussions
題目: 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