mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
elaborate runtime_error in InterfaceState
This commit is contained in:
parent
9709fd687d
commit
7caed29cb1
@ -64,7 +64,7 @@ Interface::iterator Interface::add(InterfaceState &&state, SolutionBase* incomin
|
|||||||
if (!state.incomingTrajectories().empty() || !state.outgoingTrajectories().empty())
|
if (!state.incomingTrajectories().empty() || !state.outgoingTrajectories().empty())
|
||||||
throw std::runtime_error("expecting empty incoming/outgoing trajectories");
|
throw std::runtime_error("expecting empty incoming/outgoing trajectories");
|
||||||
if (!state.scene())
|
if (!state.scene())
|
||||||
throw std::runtime_error("expecting valid planning scene");
|
throw std::runtime_error("expecting valid planning scene in InterfaceState");
|
||||||
|
|
||||||
// move state to a list node
|
// move state to a list node
|
||||||
std::list<InterfaceState> container;
|
std::list<InterfaceState> container;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user