Public Slots | Public Member Functions | Private Member Functions | Private Attributes
dbase_grasp_planner::GuidedGraspPlanningTask Class Reference

Uses a more advanced GuidedPlanner for grasp planning on dexterous hands; saves the results in a database. More...

#include <guided_grasp_planning_task.h>

Inheritance diagram for dbase_grasp_planner::GuidedGraspPlanningTask:
Inheritance graph
[legend]

List of all members.

Public Slots

void plannerComplete ()
 Connected to the complete() signal of the planner.
void plannerUpdate ()
 Connected to the update() signal of the planner.

Public Member Functions

 GuidedGraspPlanningTask (graspit_dbase_tasks::DBTaskDispatcher *disp, db_planner::DatabaseManager *mgr, db_planner::TaskRecord rec)
 Just a stub for now.
virtual void start ()
 Loads the hand and the object, initializes and starts a guided planner.
 ~GuidedGraspPlanningTask ()
 Removes the object that has been used from the sim world, but not the hand.

Private Member Functions

bool saveGrasp (const GraspPlanningState *pre_gps, const GraspPlanningState *final_gps)
 Saves a solution grasp to the database.

Private Attributes

Hand * mHand
 The hand we are planning with.
size_t mLastSolution
 The index of the last solution saved.
GraspableBody * mObject
 The object we are planning on.
GuidedPlanner * mPlanner
 The planner that we are using.
db_planner::PlanningTaskRecord mPlanningTask
 The record of the actual planning task.

Detailed Description

Uses a more advanced GuidedPlanner for grasp planning on dexterous hands; saves the results in a database.

This Task is similar to the GraspPlanningTask in this same package. See that class documentation to get started.

The key difference is that this task uses a different type of GraspIt! planner, namely the GuidedPlanner, which is better suited for more dexterous hands.

This task is better suited for planning with the Schunk SDH or the Barrett hands.

Definition at line 58 of file guided_grasp_planning_task.h.


Constructor & Destructor Documentation

dbase_grasp_planner::GuidedGraspPlanningTask::GuidedGraspPlanningTask ( graspit_dbase_tasks::DBTaskDispatcher disp,
db_planner::DatabaseManager *  mgr,
db_planner::TaskRecord  rec 
)

Just a stub for now.

Definition at line 56 of file guided_grasp_planning_task.cpp.

Removes the object that has been used from the sim world, but not the hand.

Definition at line 65 of file guided_grasp_planning_task.cpp.


Member Function Documentation

Connected to the complete() signal of the planner.

Definition at line 151 of file guided_grasp_planning_task.cpp.

Connected to the update() signal of the planner.

Definition at line 156 of file guided_grasp_planning_task.cpp.

bool dbase_grasp_planner::GuidedGraspPlanningTask::saveGrasp ( const GraspPlanningState *  pre_gps,
const GraspPlanningState *  final_gps 
) [private]

Saves a solution grasp to the database.

Definition at line 177 of file guided_grasp_planning_task.cpp.

Loads the hand and the object, initializes and starts a guided planner.

Implements graspit_dbase_tasks::DBTask.

Definition at line 77 of file guided_grasp_planning_task.cpp.


Member Data Documentation

The hand we are planning with.

Definition at line 66 of file guided_grasp_planning_task.h.

The index of the last solution saved.

Definition at line 70 of file guided_grasp_planning_task.h.

The object we are planning on.

Definition at line 62 of file guided_grasp_planning_task.h.

The planner that we are using.

Definition at line 64 of file guided_grasp_planning_task.h.

db_planner::PlanningTaskRecord dbase_grasp_planner::GuidedGraspPlanningTask::mPlanningTask [private]

The record of the actual planning task.

Definition at line 68 of file guided_grasp_planning_task.h.


The documentation for this class was generated from the following files:


dbase_grasp_planner
Author(s): Matei Ciocarlie
autogenerated on Mon Jan 6 2014 11:20:17