MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/SOAR / costTo

Method costTo

src/planner/active_perception/src/graph_node.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26double ViewNode::costTo(const ViewNode::Ptr& node)
27{
28 vector<Vector3d> path;
29 double c = ViewNode::computeCost(pos_, node->pos_, yaw_, node->yaw_, vel_, yaw_dot_, path);
30 // std::cout << "cost from " << id_ << " to " << node->id_ << " is: " << c << std::endl;
31 return c;
32}
33
34double ViewNode::searchPath(const Vector3d& p1, const Vector3d& p2, vector<Vector3d>& path)
35{

Callers 1

DijkstraSearchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected