Re: [ros-users] Problem with dynamic reconfigure

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: 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