mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
prune UNKNOWN *and* PROPAGATE_BOTHWAYS
If PropagatingEitherWay's interface is not met in *both* directions (but only one), in BOTHWAY mode, issue a warning. Otherwise handle both, AUTO and BOTHWAY mode, in the same fashion when resolving interfaces. TODO: move validateConnectivity() in StagePrivate. default action = default action from ContainerBase. PropagatingEitherWay: issue warning for case above
This commit is contained in:
parent
f831fe5483
commit
10c7a9cfd7
@ -399,7 +399,7 @@ bool SerialContainerPrivate::connect(container_type::const_iterator cur)
|
|||||||
cur_impl->setPrevEnds((*prev)->pimpl()->ends());
|
cur_impl->setPrevEnds((*prev)->pimpl()->ends());
|
||||||
|
|
||||||
// schedule stage with unknown interface for 2nd sweep
|
// schedule stage with unknown interface for 2nd sweep
|
||||||
return required == UNKNOWN;
|
return required == UNKNOWN || required == PROPAGATE_BOTHWAYS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Establishing the interface connections, we face a chicken-egg-problem:
|
/* Establishing the interface connections, we face a chicken-egg-problem:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user