mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
grant access to subsolutions of a sequence
SubTrajectory allows to access the trajectory, but for SolutionSequence is was not needed until now.
This commit is contained in:
parent
98cac4fd7c
commit
c662311a78
@ -299,6 +299,8 @@ public:
|
|||||||
/// append all subsolutions to solution
|
/// append all subsolutions to solution
|
||||||
void fillMessage(moveit_task_constructor_msgs::Solution& msg, Introspection* introspection) const override;
|
void fillMessage(moveit_task_constructor_msgs::Solution& msg, Introspection* introspection) const override;
|
||||||
|
|
||||||
|
const container_type& solutions() const { return subsolutions_; }
|
||||||
|
|
||||||
inline const InterfaceState* internalStart() const { return subsolutions_.front()->start(); }
|
inline const InterfaceState* internalStart() const { return subsolutions_.front()->start(); }
|
||||||
inline const InterfaceState* internalEnd() const { return subsolutions_.back()->end(); }
|
inline const InterfaceState* internalEnd() const { return subsolutions_.back()->end(); }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user