Hiep update
This commit is contained in:
@@ -21,7 +21,7 @@ namespace dock_planner
|
||||
* @param costmap_robot Pointer tới costmap ROS wrapper
|
||||
* Tự động gọi initialize() nếu được cung cấp costmap
|
||||
*/
|
||||
DockPlanner::DockPlanner(std::string name, costmap_2d::Costmap2DROBOT* costmap_robot)
|
||||
DockPlanner::DockPlanner(std::string name, robot_costmap_2d::Costmap2DROBOT* costmap_robot)
|
||||
: costmap_robot_(nullptr),
|
||||
costmap_(nullptr),
|
||||
initialized_(false),
|
||||
@@ -43,7 +43,7 @@ namespace dock_planner
|
||||
* - Load parameters từ ROS parameter server
|
||||
* - Đánh dấu trạng thái initialized
|
||||
*/
|
||||
bool DockPlanner::initialize(std::string name, costmap_2d::Costmap2DROBOT* costmap_robot)
|
||||
bool DockPlanner::initialize(std::string name, robot_costmap_2d::Costmap2DROBOT* costmap_robot)
|
||||
{
|
||||
if (!initialized_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user