robot_nav_core
This commit is contained in:
parent
60e9c5673f
commit
0b01c22019
|
|
@ -51,7 +51,7 @@ target_link_libraries(custom_planner
|
||||||
robot_time
|
robot_time
|
||||||
data_convert
|
data_convert
|
||||||
robot_costmap_2d
|
robot_costmap_2d
|
||||||
nav_core
|
robot_nav_core
|
||||||
robot_protocol_msgs
|
robot_protocol_msgs
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ using namespace std;
|
||||||
#include <robot_costmap_2d/costmap_2d_robot.h>
|
#include <robot_costmap_2d/costmap_2d_robot.h>
|
||||||
|
|
||||||
// global representation
|
// global representation
|
||||||
#include <nav_core/base_global_planner.h>
|
#include <robot_nav_core/base_global_planner.h>
|
||||||
|
|
||||||
// tf
|
// tf
|
||||||
#include <tf3/convert.h>
|
#include <tf3/convert.h>
|
||||||
|
|
@ -56,7 +56,7 @@ struct OrderNode{
|
||||||
double theta;
|
double theta;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CustomPlanner : public nav_core::BaseGlobalPlanner{
|
class CustomPlanner : public robot_nav_core::BaseGlobalPlanner{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1177,7 +1177,7 @@ namespace custom_planner
|
||||||
}
|
}
|
||||||
|
|
||||||
// Export factory function
|
// Export factory function
|
||||||
static boost::shared_ptr<nav_core::BaseGlobalPlanner> custom_planner_plugin() {
|
static boost::shared_ptr<robot_nav_core::BaseGlobalPlanner> custom_planner_plugin() {
|
||||||
return boost::make_shared<custom_planner::CustomPlanner>();
|
return boost::make_shared<custom_planner::CustomPlanner>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user