#include <planning_component.h>
Public Member Functions | |
| std::vector< planning_interface::MotionPlanResponse > const & | getSolutions () const |
| Get solutions. More... | |
| PlanSolutions (const size_t expected_size=0) | |
| Constructor. More... | |
| void | pushBack (const planning_interface::MotionPlanResponse &plan_solution) |
| Thread safe method to add PlanSolutions to this data structure TODO(sjahr): Refactor this method to an insert method similar to https://github.com/ompl/ompl/blob/main/src/ompl/base/src/ProblemDefinition.cpp#L54-L161. This way, it is possible to create a sorted container e.g. according to a user specified criteria. More... | |
Private Attributes | |
| std::vector< planning_interface::MotionPlanResponse > | solutions_ |
| std::mutex | solutions_mutex_ |
Definition at line 92 of file planning_component.h.
|
inline |
Constructor.
Definition at line 96 of file planning_component.h.
|
inline |
Get solutions.
Definition at line 112 of file planning_component.h.
|
inline |
Thread safe method to add PlanSolutions to this data structure TODO(sjahr): Refactor this method to an insert method similar to https://github.com/ompl/ompl/blob/main/src/ompl/base/src/ProblemDefinition.cpp#L54-L161. This way, it is possible to create a sorted container e.g. according to a user specified criteria.
Definition at line 105 of file planning_component.h.
|
private |
Definition at line 118 of file planning_component.h.
|
private |
Definition at line 119 of file planning_component.h.