Skip to content

Commit c662311

Browse files
committed
grant access to subsolutions of a sequence
SubTrajectory allows to access the trajectory, but for SolutionSequence is was not needed until now.
1 parent 98cac4f commit c662311

File tree

1 file changed

+2
-0
lines changed
  • core/include/moveit/task_constructor

1 file changed

+2
-0
lines changed

core/include/moveit/task_constructor/storage.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ class SolutionSequence : public SolutionBase
299299
/// append all subsolutions to solution
300300
void fillMessage(moveit_task_constructor_msgs::Solution& msg, Introspection* introspection) const override;
301301

302+
const container_type& solutions() const { return subsolutions_; }
303+
302304
inline const InterfaceState* internalStart() const { return subsolutions_.front()->start(); }
303305
inline const InterfaceState* internalEnd() const { return subsolutions_.back()->end(); }
304306

0 commit comments

Comments
 (0)