update
This commit is contained in:
@@ -250,11 +250,6 @@ namespace amr_control
|
||||
sensor_converter_ptr_ = std::make_shared<amr_control::SensorConverter>(nh, move_base_ptr_);
|
||||
move_base_ptr_->initialize(tf_core_ptr_);
|
||||
|
||||
// Initialize costmap publisher for RViz visualization
|
||||
robot::log_info("[%s:%d]\n Initializing costmap publisher...", __FILE__, __LINE__);
|
||||
amr_publisher_ptr_ = std::make_shared<amr_control::AmrPublisher>(nh, move_base_ptr_);
|
||||
amr_subscriber_ptr_ = std::make_shared<amr_control::AmrSubscriber>(nh, move_base_ptr_);
|
||||
|
||||
ros::Rate r(3);
|
||||
do
|
||||
{
|
||||
@@ -262,6 +257,11 @@ namespace amr_control
|
||||
ros::spinOnce();
|
||||
} while (ros::ok() && !move_base_ptr_->getFeedback()->is_ready);
|
||||
|
||||
// Initialize costmap publisher for RViz visualization
|
||||
robot::log_info("[%s:%d]\n Initializing costmap publisher...", __FILE__, __LINE__);
|
||||
amr_publisher_ptr_ = std::make_shared<amr_control::AmrPublisher>(nh, move_base_ptr_);
|
||||
amr_subscriber_ptr_ = std::make_shared<amr_control::AmrSubscriber>(nh, move_base_ptr_);
|
||||
|
||||
if (move_base_ptr_ != nullptr &&
|
||||
move_base_ptr_->getFeedback() != nullptr &&
|
||||
move_base_ptr_->getFeedback()->is_ready)
|
||||
|
||||
Submodule pnkx_nav_core updated: cab5655769...6e320bbe5c
Reference in New Issue
Block a user