libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
FakePlace Class Reference
Inheritance diagram for FakePlace:
Place ManipulationTask PrivateTask Task

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 ()
 
- Public Member Functions inherited from Place
bool computeSolutionTrajectories (TaskSolution *TS)
 overides computeSolutionTrajectories(int solutionId)
 
virtual TaskSolutioncreateSolution (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< regionConstgetForceInConstraints ()
 
std::vector< regionConstgetForbidConstraints ()
 
bool findCurrentTestPoint ()
 
configPt findCurrentRotations ()
 
configPt findObjectConf ()
 
bool isObjectInSurface ()
 
bool testFactConstraints ()
 
bool initMightabilities ()
 
bool getNextMightPoint ()
 
virtual double getSSSizeLeft ()
 
- Public Member Functions inherited from ManipulationTask
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)
 
TaskSolutionfindAlternative (bool computeMP)
 get an alternative created by createAlternative and add it to results, or create a new one if no more are presents. More...
 
TaskSolutioncreateAlternative (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)
 
RobotgetMainObject ()
 
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...
 
RobotgetMainObjectFromAtt ()
 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...
 
- Public Member Functions inherited from PrivateTask
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)
 
RobotgetMainAgent ()
 
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 ()
 
- Public Member Functions inherited from Task
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 ()
 
TaskSubSolutiongetSubSolAt (int alternativeId, int id)
 
int getSubSolNumberOfTrajs (int alternativeId)
 
TaskAllSolutionsgetResult ()
 
void setResult (TaskAllSolutions *r)
 
void setConstraints (TaskConstraints *c)
 
TaskConstraintsgetCurrConstraint ()
 
virtual std::vector< int > getJointsIdsToUse ()
 getJointsIdsToUse More...
 
void setGraph (Graph *g)
 
GraphgetGraph ()
 
void setPlanTree (PlanTree *pt)
 
PlanTreegetPlanTree ()
 
void setCurrentDataType (type_data pt)
 
type_data getCurrentDataType ()
 
std::vector< SurfaceAttachementcreateRecursiveAttachements (Robot *r)
 
std::vector< SurfaceAttachementcreateAndLoadSurfaceAttachements (Robot *r)
 
void removeSurfaceAttachements (std::vector< SurfaceAttachement > s)
 

Additional Inherited Members

- Public Attributes inherited from Task
SolutionDataSD
 
- Protected Attributes inherited from Place
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
 
- Protected Attributes inherited from ManipulationTask
RobotmainObject
 
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
 
- Protected Attributes inherited from PrivateTask
std::vector< GTPCellcandidatePoints
 
RobotmainAgent
 
armLabel m_arm
 
gpHand_type handType
 
int _armId
 
std::map< std::string,
ManipulationPlanner * > 
ManipPlMap
 
std::vector< HRI_AGENT_TYPE > _possibleMainAgentType
 
- Protected Attributes inherited from Task
int task_id
 
std::string type
 
TasksId typeId
 
TaskAllSolutionsresult
 
WorldState_WS
 
int nbMaxLoops
 
TaskConstraints_currConstraints
 
int _returnReportcount
 
int _returnReportcountMax
 
Graph_taskGraph
 
PlanTree_planTree
 
type_data currentDataType
 

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