#include <dbase_grasp.h>
Public Slots | |
void | plannerComplete () |
void | plannerUpdate () |
Public Member Functions | |
DBaseBatchPlanner (IVmgr *mgr, GraspItGUI *gui) | |
bool | processArguments (int argc, char **argv) |
bool | startPlanner () |
~DBaseBatchPlanner () | |
Private Types | |
enum | Type { DEXTEROUS = 0, GRIPPER = 1 } |
Private Member Functions | |
void | processSolution (const GraspPlanningState *sol) |
void | takeScans () |
void | usage () |
void | writeCloudToFile (int i, int j, const std::vector< position > &cloud) |
void | writeContactsToFile (Hand *hand, Body *object) |
void | writeRawToFile (int i, int j, const std::vector< RawScanPoint > &rawData, vec3 loc, vec3 dir, vec3 up) |
void | writeSolutionsToFile (FILE *f) |
Static Private Member Functions | |
static void | sensorCB (void *data, SoSensor *) |
Private Attributes | |
double | energyConstraint |
IVmgr * | ivmgr |
GraspItGUI * | mGui |
Hand * | mHand |
std::fstream | mLogStream |
double | mMaxTime |
GraspableBody * | mObject |
EGPlanner * | mPlanner |
FILE * | mResultFile |
char * | mScanDirectory |
SoTimerSensor * | mTimerSensor |
Type | mType |
int | numOfGrasps |
int | numOfGraspsGoal |
Definition at line 48 of file dbase_grasp.h.
enum DBaseBatchPlanner::Type [private] |
Definition at line 57 of file dbase_grasp.h.
DBaseBatchPlanner::DBaseBatchPlanner | ( | IVmgr * | mgr, | |
GraspItGUI * | gui | |||
) |
Definition at line 46 of file dbase_grasp.cpp.
DBaseBatchPlanner::~DBaseBatchPlanner | ( | ) |
Definition at line 59 of file dbase_grasp.cpp.
void DBaseBatchPlanner::plannerComplete | ( | ) | [slot] |
Definition at line 272 of file dbase_grasp.cpp.
void DBaseBatchPlanner::plannerUpdate | ( | ) | [slot] |
Definition at line 247 of file dbase_grasp.cpp.
bool DBaseBatchPlanner::processArguments | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 67 of file dbase_grasp.cpp.
void DBaseBatchPlanner::processSolution | ( | const GraspPlanningState * | sol | ) | [private] |
Definition at line 307 of file dbase_grasp.cpp.
void DBaseBatchPlanner::sensorCB | ( | void * | data, | |
SoSensor * | ||||
) | [static, private] |
Definition at line 298 of file dbase_grasp.cpp.
bool DBaseBatchPlanner::startPlanner | ( | ) |
Definition at line 175 of file dbase_grasp.cpp.
void DBaseBatchPlanner::takeScans | ( | ) | [private] |
Definition at line 419 of file dbase_grasp.cpp.
void DBaseBatchPlanner::usage | ( | ) | [private] |
Definition at line 169 of file dbase_grasp.cpp.
void DBaseBatchPlanner::writeCloudToFile | ( | int | i, | |
int | j, | |||
const std::vector< position > & | cloud | |||
) | [private] |
Definition at line 465 of file dbase_grasp.cpp.
Definition at line 387 of file dbase_grasp.cpp.
void DBaseBatchPlanner::writeRawToFile | ( | int | i, | |
int | j, | |||
const std::vector< RawScanPoint > & | rawData, | |||
vec3 | loc, | |||
vec3 | dir, | |||
vec3 | up | |||
) | [private] |
Definition at line 490 of file dbase_grasp.cpp.
void DBaseBatchPlanner::writeSolutionsToFile | ( | FILE * | f | ) | [private] |
Definition at line 522 of file dbase_grasp.cpp.
double DBaseBatchPlanner::energyConstraint [private] |
Definition at line 79 of file dbase_grasp.h.
IVmgr* DBaseBatchPlanner::ivmgr [private] |
Definition at line 62 of file dbase_grasp.h.
GraspItGUI* DBaseBatchPlanner::mGui [private] |
Definition at line 63 of file dbase_grasp.h.
Hand* DBaseBatchPlanner::mHand [private] |
Definition at line 61 of file dbase_grasp.h.
std::fstream DBaseBatchPlanner::mLogStream [private] |
Definition at line 68 of file dbase_grasp.h.
double DBaseBatchPlanner::mMaxTime [private] |
Definition at line 70 of file dbase_grasp.h.
GraspableBody* DBaseBatchPlanner::mObject [private] |
Definition at line 60 of file dbase_grasp.h.
EGPlanner* DBaseBatchPlanner::mPlanner [private] |
Definition at line 64 of file dbase_grasp.h.
FILE* DBaseBatchPlanner::mResultFile [private] |
Definition at line 66 of file dbase_grasp.h.
char* DBaseBatchPlanner::mScanDirectory [private] |
Definition at line 69 of file dbase_grasp.h.
SoTimerSensor* DBaseBatchPlanner::mTimerSensor [private] |
Definition at line 76 of file dbase_grasp.h.
Type DBaseBatchPlanner::mType [private] |
Definition at line 59 of file dbase_grasp.h.
int DBaseBatchPlanner::numOfGrasps [private] |
Definition at line 77 of file dbase_grasp.h.
int DBaseBatchPlanner::numOfGraspsGoal [private] |
Definition at line 78 of file dbase_grasp.h.