mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
add more (commented-out) debug statements
Also print generator symbol for completeness.
This commit is contained in:
parent
e33962364d
commit
be1c8292b5
@ -295,9 +295,9 @@ static void printChildrenInterfaces(const ContainerBase& container, bool success
|
||||
|
||||
for (const auto& child : container.pimpl()->children()) {
|
||||
auto cimpl = child->pimpl();
|
||||
if (!cimpl->starts() && !cimpl->ends())
|
||||
continue; // skip generator
|
||||
os << std::setw(width) << std::left << child->name();
|
||||
if (!cimpl->starts() && !cimpl->ends())
|
||||
os << "↕ " << std::endl;
|
||||
if (cimpl->starts())
|
||||
os << "↓ " << *child->pimpl()->starts() << std::endl;
|
||||
if (cimpl->starts() && cimpl->ends())
|
||||
@ -399,6 +399,7 @@ void SerialContainer::onNewSolution(const SolutionBase& current) {
|
||||
}
|
||||
}
|
||||
}
|
||||
// printChildrenInterfaces(*this, true, *current.creator());
|
||||
|
||||
// finally, store + announce new solutions to external interface
|
||||
for (const auto& solution : sorted)
|
||||
@ -429,6 +430,7 @@ void SerialContainer::onNewFailure(const Stage& child, const InterfaceState* fro
|
||||
}
|
||||
break;
|
||||
}
|
||||
// printChildrenInterfaces(*this, false, child);
|
||||
}
|
||||
|
||||
SerialContainer::SerialContainer(SerialContainerPrivate* impl) : ContainerBase(impl) {}
|
||||
|
||||
@ -761,6 +761,9 @@ void ConnectingPrivate::newState(Interface::iterator it, bool updated) {
|
||||
}
|
||||
}
|
||||
}
|
||||
// std::cerr << name_ << ": ";
|
||||
// printPendingPairs(std::cerr);
|
||||
// std::cerr << std::endl;
|
||||
}
|
||||
|
||||
// Check whether there are pending feasible states that could connect to source.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user