Re: [ros-users] Problem with dynamic reconfigure

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: User discussions
題目: Re: [ros-users] Problem with dynamic reconfigure
On Sun, Feb 6, 2011 at 8:26 AM, Zhiping <> wrote:

> dynamic_reconfigure::Server<base_local_planner::MyStuffConfig> srv;
> ( line 121)
> dynamic_reconfigure::Server<base_local_planner::MyStuffConfig>::CallbackType
> f = boost::bind(&TrajectoryPlanner::reconfigureCB,this, _1, _2);
> srv.setCallback(f);
>
> but it does not work too.


I had a similar problem once. In my case, it turned out that srv was
automatic, not a class variable, so it was destroyed immediately when
the containing function returned, and the service did not remain
active.
--
 joq