Simox
2.3.74.0
|
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | PlanningThread (MotionPlannerPtr planner) |
constructor More... | |
virtual | ~PlanningThread () |
destructor More... | |
virtual void | start () |
virtual void | interrupt (bool waitUntilStopped=false) |
void | stop () |
bool | isRunning () |
MotionPlannerPtr | getPlanner () |
Protected Member Functions | |
void | workingMethod () |
Protected Attributes | |
bool | threadStarted |
bool | plannerFinished |
MotionPlannerPtr | planner |
std::thread | planningThread |
std::mutex | mutex |
The GraspIkRrt planner combines the search for a feasible grasp and an IK solution with the search for a collision-free motion.
Saba::PlanningThread::PlanningThread | ( | MotionPlannerPtr | planner | ) |
constructor
Constructor The thread is not started until you call start()
planner | The planner to be started. |
|
virtual |
destructor
MotionPlannerPtr Saba::PlanningThread::getPlanner | ( | ) |
|
virtual |
Send an interrupt signal to thread.
waitUntilStopped | If false this method returns immediately. Otherwise we wait until the thread has been successfully interrupted. |
bool Saba::PlanningThread::isRunning | ( | ) |
|
virtual |
Start the planning in an own thread.
void Saba::PlanningThread::stop | ( | ) |
Same as interrupt(true)
|
protected |
Here the planning takes place.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |