use runCompute()

This commit is contained in:
Jafar Abdi 2020-01-10 20:26:00 +01:00 committed by Robert Haschke
parent 89fea00b33
commit aa11b66824
2 changed files with 6 additions and 6 deletions

View File

@ -667,7 +667,7 @@ void SerialContainer::compute() {
continue;
ROS_DEBUG("Computing stage '%s'", stage->name().c_str());
stage->pimpl()->compute();
stage->pimpl()->runCompute();
} catch (const Property::error& e) {
stage->reportPropertyError(e);
}
@ -861,7 +861,7 @@ bool WrapperBase::canCompute() const {
void WrapperBase::compute() {
try {
wrapped()->pimpl()->compute();
wrapped()->pimpl()->runCompute();
} catch (const Property::error& e) {
wrapped()->reportPropertyError(e);
}
@ -877,7 +877,7 @@ bool Alternatives::canCompute() const {
void Alternatives::compute() {
for (const auto& stage : pimpl()->children()) {
try {
stage->pimpl()->compute();
stage->pimpl()->runCompute();
} catch (const Property::error& e) {
stage->reportPropertyError(e);
}
@ -917,7 +917,7 @@ void Fallbacks::compute() {
return;
try {
active_child_->pimpl()->compute();
active_child_->pimpl()->runCompute();
} catch (const Property::error& e) {
active_child_->reportPropertyError(e);
}
@ -982,7 +982,7 @@ bool Merger::canCompute() const {
void Merger::compute() {
for (const auto& stage : pimpl()->children()) {
try {
stage->pimpl()->compute();
stage->pimpl()->runCompute();
} catch (const Property::error& e) {
stage->reportPropertyError(e);
}

View File

@ -278,7 +278,7 @@ bool Task::canCompute() const {
}
void Task::compute() {
stages()->compute();
stages()->pimpl()->runCompute();
}
bool Task::plan(size_t max_solutions) {