mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
use runCompute()
This commit is contained in:
parent
89fea00b33
commit
aa11b66824
@ -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);
|
||||
}
|
||||
|
||||
@ -278,7 +278,7 @@ bool Task::canCompute() const {
|
||||
}
|
||||
|
||||
void Task::compute() {
|
||||
stages()->compute();
|
||||
stages()->pimpl()->runCompute();
|
||||
}
|
||||
|
||||
bool Task::plan(size_t max_solutions) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user