MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/RACER / getPath

Method getPath

swarm_exploration/path_searching/src/astar.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147std::vector<Eigen::Vector3d> Astar::getPath() {
148 vector<Eigen::Vector3d> path;
149 for (int i = 0; i < path_nodes_.size(); ++i) {
150 path.push_back(path_nodes_[i]->position);
151 }
152 return path;
153}
154
155double Astar::getDiagHeu(Eigen::Vector3d x1, Eigen::Vector3d x2) {
156 double dx = fabs(x1(0) - x2(0));

Callers 6

getCostDroneToGridMethod · 0.45
getCostGridToGridMethod · 0.45
getGridTourMethod · 0.45
searchPathMethod · 0.45
localExploreMethod · 0.45
planTrajToViewMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected