Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have solve it:

1) no need for PLUGINLIB_EXPORT_CLASS in each .cpp, add it only in the planner's .cpp

2) in cMakeLists.txt

add_library(GA_planner_lib src/GA_global_planner_ros.cpp src/GenericPathPlanner.cpp src/Map.cpp src/OccupancyGridMap.cpp src/Path.cpp)

That is, add all .cpp needed by your planner