libmove3d-planners
|
Public Member Functions | |
bool | initAll () |
bool | initialize () |
bool | finalize () |
bool | findCandidateSolutions () |
bool | getRandomSol () |
bool | findConfigurations () |
bool | findTrajectories () |
bool | setAgents (std::multimap< std::string, std::string > agents_name) |
bool | setToSolution (int solutionId, bool computeMP) |
bool | isPossibleMainAgent (Robot *r) |
double | computeCost (int altId) |
std::string | getDescr () |
![]() | |
bool | computeSolutionTrajectories (TaskSolution *TS) |
overides computeSolutionTrajectories(int solutionId) | |
virtual TaskSolution * | createSolution (bool computeMP) |
bool | testConstraints (int alternativeId) |
bool | setObjects (std::multimap< std::string, std::string > objects_name) |
bool | setPoints (std::multimap< std::string, p3d_point > points) |
bool | setdata (std::multimap< std::string, std::string > additionalData) |
bool | setSupportObject (std::multimap< std::string, std::string > objects_name) |
bool | setMainObject (std::multimap< std::string, std::string > objects_name) |
void | smoothSolution (int alternativeId) |
std::string | getTextFromValues () |
bool | setTargetPoint (std::multimap< std::string, p3d_point > points) |
bool | findSupports () |
bool | findRotations () |
std::vector< regionConst > | getForceInConstraints () |
std::vector< regionConst > | getForbidConstraints () |
bool | findCurrentTestPoint () |
configPt | findCurrentRotations () |
configPt | findObjectConf () |
bool | isObjectInSurface () |
bool | testFactConstraints () |
bool | initMightabilities () |
bool | getNextMightPoint () |
virtual double | getSSSizeLeft () |
![]() | |
virtual bool | computeSolutionTrajectories (int alternativeId) |
virtual bool | run (std::multimap< std::string, std::string > agents_name, std::multimap< std::string, std::string > objects_name, std::multimap< std::string, p3d_point > point3d, std::multimap< std::string, std::string > additionalData, WorldState *WS, bool computeMP) |
TaskSolution * | findAlternative (bool computeMP) |
get an alternative created by createAlternative and add it to results, or create a new one if no more are presents. More... | |
TaskSolution * | createAlternative (bool computeMP) |
randomly create a solution More... | |
std::vector< confPtr_t > | compute_manipulation_data (int armId, Robot *object, gpGrasp grasp) |
bool | setMainObject (std::multimap< std::string, std::string > objects_name) |
Robot * | getMainObject () |
virtual void | showMainObjectRandomTransform () |
bool | attachObject () |
bool | detachObject () |
bool | checkHRIAgent (Robot *r) |
bool | setMainAgentHand () |
bool | isObjectInCollision (Robot *supportObject) |
bool | isHandInCollision () |
void | removeVirtualObjects () |
void | moveBackVirtualObjects () |
bool | checkAttachement () |
check the attachements More... | |
bool | checkAndSetArmAndObj () |
check if the arm and objects coresponds More... | |
Robot * | getMainObjectFromAtt () |
use the arm to find the object attached More... | |
int | getArmIdFromAtt () |
use the attachement to find the object More... | |
bool | checkArmAtt () |
check if there is an attachement in _WS of the main object in the good hand More... | |
![]() | |
virtual bool | testConstraints (TaskSolution *TS) |
bool | isPathStraight (Robot *r, p3d_traj *t) |
armLabel | getArmLabelFromId (int armId) |
bool | setArmToUse (armLabel arm_t) |
bool | setArmToUse (int armId) |
bool | initMotionPlaner (Robot *rob) |
p3d_traj * | compute_traj (confPtr_t q_init, confPtr_t q_goal, Robot *object, int &status) |
p3d_traj * | compute_traj_using_localPath (confPtr_t q_init, confPtr_t q_goal, Robot *object, int &status, bool testingStraightPath=true) |
virtual bool | attachObject (Robot *rob, Robot *obj, bool attach) |
virtual bool | attachObject (Robot *rob, Robot *obj, bool attach, int armId) |
bool | computeInverseKinematic (Robot *ag, p3d_matrix4 target_pos, confPtr_t &solution, int armId, bool fromCurPos) |
bool | computeManipulationConfs (confPtr_t &approachC, confPtr_t &graspC, confPtr_t &graspOC, confPtr_t &escapeC, p3d_matrix4 objectPosMat, gpGrasp grasp, p3d_vector3 approachDir, double approachDist, p3d_vector3 escapeDir, double escapeDist) |
int | getArmId () |
bool | setMainAgent (std::multimap< std::string, std::string > agents_name) |
Robot * | getMainAgent () |
void | openGripper (confPtr_t &q, bool open, int armId) |
void | activateFingertipCol (bool val, Robot *robi, Robot *object, Robot *supportObj) |
virtual std::pair < Sem::PlanningPart, bool > | getPlanPartToUse () |
![]() | |
virtual double | heuristic (std::multimap< std::string, std::string > agents_name, std::multimap< std::string, std::string > objects_name, std::multimap< std::string, p3d_point > point3d, std::multimap< std::string, std::string > additionalData, WorldState *WS, bool computeMP) |
virtual double | computeHeuristicCost () |
p3d_traj * | compute_traj (confPtr_t q_init, confPtr_t q_goal, int &status) |
p3d_traj * | compute_traj_using_localPath (confPtr_t q_init, confPtr_t q_goal, int &status) |
int | getId () |
void | setId (int id) |
std::string | getType () |
TasksId | getTypeId () |
TaskSubSolution * | getSubSolAt (int alternativeId, int id) |
int | getSubSolNumberOfTrajs (int alternativeId) |
TaskAllSolutions * | getResult () |
void | setResult (TaskAllSolutions *r) |
void | setConstraints (TaskConstraints *c) |
TaskConstraints * | getCurrConstraint () |
virtual std::vector< int > | getJointsIdsToUse () |
getJointsIdsToUse More... | |
void | setGraph (Graph *g) |
Graph * | getGraph () |
void | setPlanTree (PlanTree *pt) |
PlanTree * | getPlanTree () |
void | setCurrentDataType (type_data pt) |
type_data | getCurrentDataType () |
std::vector< SurfaceAttachement > | createRecursiveAttachements (Robot *r) |
std::vector< SurfaceAttachement > | createAndLoadSurfaceAttachements (Robot *r) |
void | removeSurfaceAttachements (std::vector< SurfaceAttachement > s) |
Additional Inherited Members | |
![]() | |
SolutionData * | SD |
![]() | |
int | maxTests |
Robot * | _supportObject |
p3d_traj * | approachTraj |
p3d_traj * | placeTraj |
p3d_traj * | escapeTraj |
p3d_traj * | releaseTraj |
std::vector< GeometricForm * > | _supports |
std::vector< Robot * > | _supportList |
confPtr_t | _confSol |
bool | noSupport |
bool | _hasTargedPoint |
p3d_point | _targetPoint |
p3d_point | _currentTest |
GeometricForm * | _currentSurface |
std::vector< configPt > | _rotations |
std::vector< MightabilitiesCell * > | _cells |
unsigned int | _cellId |
![]() | |
Robot * | mainObject |
confPtr_t | graspConfClosed |
confPtr_t | graspConfOpen |
confPtr_t | approachConf |
confPtr_t | escapeConf |
int | currentTransfo |
std::map< int, Robot * > | _hands |
gpGrasp | _curGrasp |
std::vector< std::pair< Robot *, configPt > > | virtualObjs |
std::vector< std::pair< double, TaskSolution * > > | exploredSolutions |
bool | _noArm |
![]() | |
std::vector< GTPCell > | candidatePoints |
Robot * | mainAgent |
armLabel | m_arm |
gpHand_type | handType |
int | _armId |
std::map< std::string, ManipulationPlanner * > | ManipPlMap |
std::vector< HRI_AGENT_TYPE > | _possibleMainAgentType |
![]() | |
int | task_id |
std::string | type |
TasksId | typeId |
TaskAllSolutions * | result |
WorldState * | _WS |
int | nbMaxLoops |
TaskConstraints * | _currConstraints |
int | _returnReportcount |
int | _returnReportcountMax |
Graph * | _taskGraph |
PlanTree * | _planTree |
type_data | currentDataType |