[ros-users] how fast can roscpp timers run?

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
このメッセージを削除
このメッセージに返信
著者: Adam Leeper
日付:  
To: ros-users
題目: [ros-users] how fast can roscpp timers run?
Hello-

I'm writing a node that will be my servo loop for a robot. In a previous
implementation the timing consisted of checking the system microsecond
counter and calling the servo update each millisecond.

Can I use ros::Rate or ros::Timer to get anywhere near 1 kHz rate? If not,
what is the practical lower limit for these?

Thanks,

Adam Leeper
Stanford University

719.358.3804