[ros-users] Problem with dynamic reconfigure
blaise at willowgarage.com
Mon Feb 7 19:15:17 UTC 2011
It's hard to tell without the full code. Here are some questions that
might help you find what's going wrong.
Are any of the dynamic reconfigure topics being created for you? (do
they show up with "rostopic list")
Does the test server in the dynamic_reconfigure package work for you?
Have you tried to set a breakpoint on the code in dynamic_reconfigure
that creates the dynamic reconfigure topics just to make sure that
code is being called?
On Sun, Feb 6, 2011 at 6:26 AM, Zhiping <TANZ0066 at e.ntu.edu.sg> wrote:
> Thanks for the fast response.
> Actually i have instantiated the dynamic_reconfigure::Server in this way:
> 1) add statement in trajectory_planner.h
> dynamic_reconfigure::Server<base_local_planner::MyStuffConfig> dsrv_
> ( line 366)
> 2) create an additional parameter in TrajectoryPlanner::TrajectoryPlanner
> at trajectory_planner.cpp
> ( line 106 )
> Will this do?
> At the same time, i also tried to rewrite the code in this way at the
> dynamic_reconfigure::Server<base_local_planner::MyStuffConfig> srv;
> ( line 121)
> f = boost::bind(&TrajectoryPlanner::reconfigureCB,this, _1, _2);
> but it does not work too.
> View this message in context: http://ros-users.122217.n3.nabble.com/Problem-with-dynamic-reconfigure-tp2300121p2437351.html
> Sent from the ROS-Users mailing list archive at Nabble.com.
> ros-users mailing list
> ros-users at code.ros.org
More information about the ros-users