1 #ifndef HRICS_TWODGRID_HPP
2 #define HRICS_TWODGRID_HPP
4 #include "API/planningAPI.hpp"
5 #include "API/Grids/gridsAPI.hpp"
22 void setRobotToStoredConfig();
25 Robot* getRobot() {
return mRobot; }
39 PlanCell(
int i, Eigen::Vector2i coord, Eigen::Vector2d corner,
PlanGrid* grid);
43 Eigen::Vector2i getCoord() {
return _Coord; }
46 void resetCost() { mCostIsComputed =
false; }
48 bool getOpen() {
return _Open; }
49 void setOpen() { _Open =
true; }
50 bool getClosed() {
return _Closed; }
51 void setClosed() { _Closed =
true; }
52 void resetExplorationStatus() { _Open =
false; _Closed =
false; }
55 void resetIsValid() { mIsCellTested =
false; }
59 confPtr_t setRobotAtCenter();
61 Eigen::Vector2i _Coord;
84 std::vector<API::State*> getSuccessors(
API::State* s);
90 void setClosed(std::vector<PlanState*>& closedStates,std::vector<PlanState*>& openStates);
91 bool isColsed(std::vector<PlanState*>& closedStates);
93 void setOpen(std::vector<PlanState*>& openStates);
94 bool isOpen(std::vector<PlanState*>& openStates);
99 PlanCell* getCell() {
return _Cell; }
112 #endif // HRICS_TWODGRID_HPP
API::TwoDCell * createNewCell(unsigned int index, unsigned int x, unsigned int y)
Virtual function that creates a new Cell.
Definition: HRICS_TwoDGrid.cpp:36
Plannar HRI State.
Definition: HRICS_TwoDGrid.hpp:77
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
Definition: TwoDCell.hpp:19
void writeToOBPlane()
Write a Cost Tab to an ObPlane format, this output has to go through a script to be used as a Cost Ma...
Definition: HRICS_TwoDGrid.cpp:133
Definition: TwoDGrid.hpp:25
++
Definition: State.hpp:20
Plannar HRI Grid.
Definition: HRICS_TwoDGrid.hpp:13
Plannar HRI Cell.
Definition: HRICS_TwoDGrid.hpp:35