#ifndef MYGRIDNODE_H #define MYGRIDNODE_H #include #include /** * the nodes we add to our grid */ struct MyGridNode : public GridNode, public GridPoint { /** distance to the desired target */ float distToTarget = 1.0; /** node importance based on surroundings */ float imp = 1.0; /** used for eval */ int cnt = 0; public: /** needed ctor */ MyGridNode(const float x_cm, const float y_cm, const float z_cm) : GridPoint(x_cm, y_cm, z_cm) {;} }; #endif // MYGRIDNODE_H