mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
fallback generator can run a single job per compute call
This commit is contained in:
parent
8719b1c3d6
commit
3d5cecd753
@ -883,11 +883,7 @@ void FallbacksPrivate::computeGenerate() {
|
|||||||
if(current_generator_ == children().end())
|
if(current_generator_ == children().end())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// run ALL possible computations (on new state)
|
|
||||||
// this is needed to decide whether it should be passed to the next child too
|
|
||||||
while ((*current_generator_)->pimpl()->canCompute()){
|
|
||||||
(*current_generator_)->pimpl()->runCompute();
|
(*current_generator_)->pimpl()->runCompute();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Interface::Direction dir>
|
template <typename Interface::Direction dir>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user