base::PlannerStatus Struct Reference
A class to store the exit status of Planner::solve() More...
#include <ompl/base/PlannerStatus.h>
Public Types | |
enum | StatusType { UNKNOWN = 0, INVALID_START, INVALID_GOAL, UNRECOGNIZED_GOAL_TYPE, TIMEOUT, APPROXIMATE_SOLUTION, EXACT_SOLUTION, CRASH, TYPE_COUNT } |
The possible values of the status returned by a planner. More... | |
Public Member Functions | |
PlannerStatus (StatusType status=UNKNOWN) | |
Default constructor. | |
PlannerStatus (bool hasSolution, bool isApproximate) | |
Convenience constructor that sets status_ based on whether some solution was found (hasSolution) and whether that solution was approximate or not (isApproximate) | |
std::string | asString () const |
Return a string representation. | |
operator bool () const | |
Allow casting to true. The value is true iff an approximate or exact solution was found. | |
operator StatusType () const | |
Allow casting to the enum type StatusType. |
Detailed Description
A class to store the exit status of Planner::solve()
Definition at line 48 of file PlannerStatus.h.
Member Enumeration Documentation
enum ompl::base::PlannerStatus::StatusType |
The possible values of the status returned by a planner.
- Enumerator:
Definition at line 51 of file PlannerStatus.h.
The documentation for this struct was generated from the following files:
- ompl/base/PlannerStatus.h
- ompl/base/src/PlannerStatus.cpp