[prev in list] [next in list] [prev in thread] [next in thread]
List: ros-users
Subject: [ros-users] Problem with dynamic reconfigure
From: blaise () willowgarage ! com (Blaise Gassend)
Date: 2011-01-31 17:13:28
Message-ID: AANLkTimDTqTfUi_swF0mzK448HRJ54D_YSm7dTye0C6r () mail ! gmail ! com
[Download RAW message or body]
On Mon, Jan 31, 2011 at 3:14 AM, Zhiping <TANZ0066 at e.ntu.edu.sg> wrote:
>
> Thanks for the reply.
>
> I have changed
>
> dynamic_reconfigure::Server<base_local_planner::MyStuffConfig>::CallbackType
> f = boost::bind(&TrajectoryPlanner::reconfigureCB, _1, _2);
> to
>
> dynamic_reconfigure::Server<base_local_planner::MyStuffConfig>::CallbackType
> f = boost::bind(&TrajectoryPlanner::reconfigureCB,&TrajectoryPlanner, _1,
> _2);
TrajectoryPlanner is your class, not the instance of your class. Try:
dynamic_reconfigure::Server<base_local_planner::MyStuffConfig>::CallbackType
f = boost::bind(&TrajectoryPlanner::reconfigureCB, this, _1,
_2);
> /opt/ros/cturtle/stacks/navigation/base_local_planner/src/trajectory_planner.cpp:120:
> error: ?srv_? was not declared in this scope
You do not have srv_ declared. You do have srv, however.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic