[ros-users] Problem with dynamic reconfigure

Zhiping TANZ0066 at e.ntu.edu.sg
Mon Jan 31 11:14:07 UTC 2011


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);

This is my new error. 
 
/opt/ros/cturtle/stacks/navigation/base_local_planner/src/trajectory_planner.cpp:119:
error: expected primary-expression before ‘,’ token
 
/opt/ros/cturtle/stacks/navigation/base_local_planner/src/trajectory_planner.cpp:120:
error: ‘srv_’ was not declared in this scope

Did i change it correct ?  If not, what should i do to the resolve this?

With thanks,
Zhiping


Attachment :
http://ros-users.122217.n3.nabble.com/file/n2388923/trajectory_planner.cpp
trajectory_planner.cpp 
-- 
View this message in context: http://ros-users.122217.n3.nabble.com/Problem-with-dynamic-reconfigure-tp2300121p2388923.html
Sent from the ROS-Users mailing list archive at Nabble.com.



More information about the ros-users mailing list