libmove3d-planners
|
#include <HRICS_EnvGrid.hpp>
Public Member Functions | |
EnvCell (int i, Eigen::Vector2i coord, Eigen::Vector2d corner, EnvGrid *grid) | |
void | setHumanDist (double value) |
double | getHumanDist () |
void | setHumanDistIsComputed () |
bool | isHumanDistComputed () |
void | setRobotDist (double value) |
double | getRobotDist () |
void | setRobotDistIsComputed () |
bool | isRobotDistComputed () |
bool | getOpen () |
void | setOpen () |
bool | getClosed () |
void | setClosed () |
void | resetExplorationStatus () |
std::vector< Eigen::Vector2d, Eigen::aligned_allocator < Eigen::Vector2d > > | getHumanVectorTraj () |
void | setHumanVectorTraj (std::vector< Eigen::Vector2d, Eigen::aligned_allocator< Eigen::Vector2d > > _humanVectorTraj) |
std::vector< EnvCell * > | getHumanTraj () |
void | setHumanTraj (std::vector< EnvCell * > _humanTraj) |
std::vector< Eigen::Vector2d, Eigen::aligned_allocator < Eigen::Vector2d > > | getRobotVectorTraj () |
void | setRobotVectorTraj (std::vector< Eigen::Vector2d, Eigen::aligned_allocator< Eigen::Vector2d > > _RobotVectorTraj) |
std::vector< EnvCell * > | getRobotTraj () |
void | setRobotTraj (std::vector< EnvCell * > _robotTraj) |
bool | isHumAccessible () |
void | setHumAccessible (bool value) |
bool | isRobAccessible () |
void | setRobAccessible (bool value) |
void | setHumanRobotReachable (std::vector< EnvCell * > value) |
std::vector< EnvCell * > | getHumanRobotReachable () |
void | addToHumanRobotReachable (EnvCell *cell) |
void | clearHumanRobotReachable () |
void | setCurrentHumanRobotReachable (std::vector< EnvCell * > value) |
std::vector< EnvCell * > | getCurrentHumanRobotReachable () |
void | addToCurrentHumanRobotReachable (EnvCell *cell) |
void | clearCurrentHumanRobotReachable () |
std::pair< double, EnvCell * > | getRobotBestPos () |
void | setRobotBestPos (std::pair< double, EnvCell * > value) |
void | setAngleForHumanComming (double value) |
double | getAngleForHumanComming () |
void | setBlankCost () |
void | setCost (double value) |
double | getCost () |
Eigen::Vector2i | getCoord () |
std::vector< double > | getRandomVector () |
void | computeHumanReach () |
test if there is a collision with a BB (the cylinders) for the human | |
void | computeRobotReach () |
test if there is a collision with a BB (the cylinders) for the robot | |
double | computeCost () |
compute partial cost | |
bool | computeBestRobotPos () |
compute best robot pos | |
void | resetReacheability () |
reset the reacheability computing | |
void | resetTraj () |
reset the Trajectories computing | |
std::vector< EnvCell * > | getNeighbors (bool isHuman) |
find the neighbors of this cell (used when computing distance propagation) | |
double | computeDist (EnvCell *neighCell) |
compute distance between two cells | |
void | addPoint (double Rz) |
add a point to the random vector in order to draw it (the red arrows) | |
std::vector< EnvCell * > | getCrown (double min, double max) |
return the crown arround the cell taking the min and max value | |
![]() | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | TwoDCell () |
Constructor of cell. More... | |
TwoDCell (int i, Eigen::Vector2d corner, TwoDGrid *grid) | |
virtual | ~TwoDCell () |
Constructor of cell. More... | |
bool | isInsideCell (Eigen::Vector2d point) |
Function is inside cell. More... | |
Eigen::Vector2d | getCenter () |
Function to get the center of the cell. More... | |
Eigen::Vector2d | getCorner () |
Eigen::Vector2d | getRandomPoint () |
Random Point In ThreeDCell. | |
Eigen::Vector2d | getCellSize () |
Gets the cell size. | |
int | getIndex () |
virtual void | draw () |
bool | operator== (TwoDCell otherCell) |
![]() | |
virtual bool | writeToXml (xmlNodePtr cur) |
virtual bool | readCellFromXml (xmlNodePtr cur) |
Additional Inherited Members | |
![]() | |
int | _index |
Eigen::Vector2d | _corner |
TwoDGrid * | _grid |
Plannar HRI Cell.