MTC
|
#include <storage.h>
Public Types | |
using | container_type = std::vector< const SolutionBase * > |
Public Member Functions | |
SolutionSequence (container_type &&subsolutions, double cost=0.0, Stage *creator=nullptr) | |
void | push_back (const SolutionBase &solution) |
void | appendTo (moveit_task_constructor_msgs::Solution &msg, Introspection *introspection) const override |
append all subsolutions to solution | |
double | computeCost (const CostTerm &cost, std::string &comment) const override |
required to dispatch to type-specific CostTerm methods via vtable | |
const container_type & | solutions () const |
const InterfaceState * | internalStart () const |
const InterfaceState * | internalEnd () const |
Public Member Functions inherited from moveit::task_constructor::SolutionBase | |
const InterfaceState * | start () const |
const InterfaceState * | end () const |
void | setStartState (const InterfaceState &state) |
void | setEndState (const InterfaceState &state) |
const Stage * | creator () const |
void | setCreator (Stage *creator) |
double | cost () const |
void | setCost (double cost) |
void | markAsFailure (const std::string &msg=std::string()) |
bool | isFailure () const |
const std::string & | comment () const |
void | setComment (const std::string &comment) |
auto & | markers () |
const auto & | markers () const |
void | toMsg (moveit_task_constructor_msgs::Solution &solution, Introspection *introspection=nullptr) const |
convert solution to message | |
void | fillInfo (moveit_task_constructor_msgs::SolutionInfo &info, Introspection *introspection=nullptr) const |
bool | operator< (const SolutionBase &other) const |
order solutions by their cost | |
Additional Inherited Members | |
Protected Member Functions inherited from moveit::task_constructor::SolutionBase | |
SolutionBase (Stage *creator=nullptr, double cost=0.0, std::string comment="") | |
Sequence of individual sub solutions
A solution sequence describes a solution that is composed from several individual sub solutions that need to be chained together to yield the overall solutions.