robot_nav_core

This commit is contained in:
HiepLM 2026-01-07 09:19:10 +07:00
parent 60e9c5673f
commit 0b01c22019
3 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ target_link_libraries(custom_planner
robot_time
data_convert
robot_costmap_2d
nav_core
robot_nav_core
robot_protocol_msgs
)

View File

@ -16,7 +16,7 @@ using namespace std;
#include <robot_costmap_2d/costmap_2d_robot.h>
// global representation
#include <nav_core/base_global_planner.h>
#include <robot_nav_core/base_global_planner.h>
// tf
#include <tf3/convert.h>
@ -56,7 +56,7 @@ struct OrderNode{
double theta;
};
class CustomPlanner : public nav_core::BaseGlobalPlanner{
class CustomPlanner : public robot_nav_core::BaseGlobalPlanner{
public:
/**

View File

@ -1177,7 +1177,7 @@ namespace custom_planner
}
// 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>();
}