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

Method ViewNode

src/planner/active_perception/src/graph_node.cpp:18–24  ·  view source on GitHub ↗

Graph node for viewpoints planning

Source from the content-addressed store, hash-verified

16
17// Graph node for viewpoints planning
18ViewNode::ViewNode(const Vector3d& p, const double& y)
19{
20 pos_ = p;
21 yaw_ = y;
22 parent_ = nullptr;
23 vel_.setZero(); // vel is zero by default, should be set explicitly
24}
25
26double ViewNode::costTo(const ViewNode::Ptr& node)
27{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected