[ros-users] topic queue

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: User discussions
題目: [ros-users] topic queue
Dear all,

I am missing message when subscribing to /rosout

_log_sub = _node.subscribe( "/rosout", 100, &ROSHandler::logCallback,
this );

I do call ros::spinOnce() approximately every 20ms. When I call spinOnce
as fast as possible (in a loop) then no messages are lost. But then my
app needs 60% of the CPU so that is not really desirable.

A
rostopic echo /rosout
catches all messages.

Any ideas?
Regards Christian