This commit is contained in:
2025-12-11 11:11:32 +07:00
parent 33afdfcc5c
commit bdd78c5f1e
19 changed files with 4 additions and 2875 deletions

View File

@@ -73,7 +73,6 @@ void move_base::MoveBase::initialize(TFListenerPtr tf)
// NodeHandle("~") will automatically load YAML files from config directory
robot::NodeHandle nh("~");
private_nh_ = nh;
printf("[%s:%d] private_nh_.getNamespace(): %s\n", __FILE__, __LINE__, private_nh_.getNamespace().c_str());
recovery_trigger_ = PLANNING_R;
// get some parameters that will be global to the move base node
@@ -776,6 +775,7 @@ bool move_base::MoveBase::loadRecoveryBehaviors(const robot::NodeHandle &node)
// check for recovery behaviors with the same name
std::string name_i = behavior["name"].as<std::string>();
printf("[%s:%d] name_i: %s\n", __FILE__, __LINE__, name_i.c_str());
for (size_t j = i + 1; j < behavior_list.size(); ++j)
{
YAML::Node behavior_j = behavior_list[j].as<YAML::Node>();