MTC
|
#include <storage.h>
Public Member Functions | |
WrappedSolution (Stage *creator, const SolutionBase *wrapped, double cost, std::string comment) | |
WrappedSolution (Stage *creator, const SolutionBase *wrapped, double cost) | |
WrappedSolution (Stage *creator, const SolutionBase *wrapped) | |
void | appendTo (moveit_task_constructor_msgs::Solution &solution, Introspection *introspection=nullptr) const override |
append this solution to Solution msg | |
double | computeCost (const CostTerm &cost, std::string &comment) const override |
required to dispatch to type-specific CostTerm methods via vtable | |
const SolutionBase * | wrapped () 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="") | |
Wrap an existing solution
used by parallel containers and wrappers.
This essentially wraps a solution of a child and thus allows for new clones of start / end states, which in turn will have separate incoming/outgoing trajectories