libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
HRICS::FrontierCells Struct Reference

Public Types

enum  FrontierCheckStatus {
  FCS_NONE =0, FCS_OBJECT, FCS_GRAB_CONFS, FCS_HANDOVER,
  FCS_TRAJECTORIES, FCS_ENUM_SIZE
}
 

Public Member Functions

MultiAgentCellcellA ()
 
MultiAgentCellcellB ()
 
double dist ()
 
bool isSymetric ()
 
void deSymetrize ()
 use this when the frontiers diverge according to its direction it duplicates data to their "reverse" counterpart, and unset the "is symetric" flag
 
MultiAgentCellcellOf (unsigned int agent)
 
confPtr_t confOf (Robot *r)
 
FrontierPtr neighbourFrontier (double keep_distance, double min_distance=0)
 create or find a similar frontier, changing positions of agents More...
 
std::vector< FrontierPtr > findNeighbourFrontiers (double keep_distance, double min_distance=0)
 
std::vector< FrontierPtr > findNeighbourFrontiersJumping (double keep_distance, double min_distance, unsigned int number)
 
bool isOverObstacle ()
 

Public Attributes

MultiAgentCell::AgentInCellagentA
 
MultiAgentCell::AgentInCellagentB
 
unsigned int agentA_ind
 
unsigned int agentB_ind
 
confPtr_t confA
 
confPtr_t confB
 
confPtr_t r_confA
 
confPtr_t r_confB
 
FrontierCells::FrontierCheckStatus check_status
 
FrontierCells::FrontierCheckStatus r_check_status
 the results of the tests are in object_ok, grab_confs_ok, handover_ok
 
std::vector< bool > status_ok
 
std::vector< bool > r_status_ok
 
std::tr1::shared_ptr
< Configuration
object_position
 a position of the object where it may be reachable by the two agents (when from A to B or symetric)
 
std::tr1::shared_ptr
< Configuration
r_object_position
 a position of the object where it may be reachable by the two agents (when from B to A)
 
Eigen::Vector3d grabA
 
Eigen::Vector3d grabB
 
Eigen::Vector3d r_grabA
 
Eigen::Vector3d r_grabB
 
API::TrajectorytrajA
 
API::TrajectorytrajB
 owned by this, deleted when this is deleted
 
API::Trajectoryr_trajA
 
API::Trajectoryr_trajB
 idem, in the handover from B to A
 
bool confChecked
 
bool select_reverse
 used as flag/argument for functions, to use symetric/direct direction or reverse direction
 
MultiAgentCellcell
 
MetaFrontierPtr meta_frontier
 

Member Function Documentation

FrontierPtr FrontierCells::neighbourFrontier ( double  keep_distance,
double  min_distance = 0 
)

create or find a similar frontier, changing positions of agents

Returns
the randomly selected/created frontier

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