|
Simox
2.3.74.0
|
An interface for grasp planners. More...
Public Member Functions | |
| GraspPlanner (VirtualRobot::GraspSetPtr graspSet) | |
| virtual | ~GraspPlanner () |
| destructor More... | |
| void | setVerbose (bool enable) |
| virtual int | plan (int nrGrasps, int timeOutMS=0, VirtualRobot::SceneObjectSetPtr obstacles={})=0 |
| std::vector< VirtualRobot::GraspPtr > | getPlannedGrasps () |
| GraspPlannerEvaluation | getEvaluation () const |
| getEvaluation More... | |
| void | clearEvaluation () |
| Clear the evaluation. More... | |
Protected Attributes | |
| bool | verbose |
| VirtualRobot::GraspSetPtr | graspSet |
| std::vector< VirtualRobot::GraspPtr > | plannedGrasps |
| GraspPlannerEvaluation | eval |
An interface for grasp planners.
| GraspStudio::GraspPlanner::GraspPlanner | ( | VirtualRobot::GraspSetPtr | graspSet | ) |
Constructor
| graspSet | Append planned grasps to this set. |
|
virtualdefault |
destructor
| void GraspStudio::GraspPlanner::clearEvaluation | ( | ) |
Clear the evaluation.
| GraspPlannerEvaluation GraspStudio::GraspPlanner::getEvaluation | ( | ) | const |
getEvaluation
| std::vector< VirtualRobot::GraspPtr > GraspStudio::GraspPlanner::getPlannedGrasps | ( | ) |
Returns all grasps that have been generated. These grasps are also stored in the graspSet that was specified on construction.
|
pure virtual |
Creates new grasps.
| nrGrasps | The number of grasps to be planned. |
| timeOutMS | The time out in milliseconds. Planning is stopped when this time is exceeded. Disabled when zero. |
Implemented in GraspStudio::GenericGraspPlanner.
| void GraspStudio::GraspPlanner::setVerbose | ( | bool | enable | ) |
|
protected |
|
protected |
|
protected |
|
protected |