Graph node for viewpoints planning
| 16 | |
| 17 | // Graph node for viewpoints planning |
| 18 | ViewNode::ViewNode(const Vector3d& p, const double& y) { |
| 19 | pos_ = p; |
| 20 | yaw_ = y; |
| 21 | parent_ = nullptr; |
| 22 | vel_.setZero(); // vel is zero by default, should be set explicitly |
| 23 | } |
| 24 | |
| 25 | double ViewNode::costTo(const ViewNode::Ptr& node) { |
| 26 | vector<Vector3d> path; |
nothing calls this directly
no outgoing calls
no test coverage detected