37 #ifndef OMPL_BASE_PLANNER_STATUS_
38 #define OMPL_BASE_PLANNER_STATUS_
std::ostream & operator<<(std::ostream &stream, Cost c)
Output operator for Cost.
Main namespace. Contains everything in this library.
A class to store the exit status of Planner::solve()
StatusType
The possible values of the status returned by a planner.
@ ABORT
The planner did not find a solution for some other reason.
@ INVALID_START
Invalid start state or no start state specified.
@ EXACT_SOLUTION
The planner found an exact solution.
@ INVALID_GOAL
Invalid goal state.
@ UNRECOGNIZED_GOAL_TYPE
The goal is of a type that a planner does not recognize.
@ APPROXIMATE_SOLUTION
The planner found an approximate solution.
@ TIMEOUT
The planner failed to find a solution.
@ UNKNOWN
Uninitialized status.
@ TYPE_COUNT
The number of possible status values.
@ CRASH
The planner crashed.
PlannerStatus(bool hasSolution, bool isApproximate)
std::string asString() const
Return a string representation.
PlannerStatus(StatusType status=UNKNOWN)
Default constructor.