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

Method evaluateEDTWithGrad

src/planner/plan_env/src/edt_environment.cpp:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void EDTEnvironment::evaluateEDTWithGrad(
47 const Eigen::Vector3d& pos, double time, double& dist, Eigen::Vector3d& grad)
48{
49 // Eigen::Vector3d diff;
50 // Eigen::Vector3d sur_pts[2][2][2];
51 // sdf_map_->getSurroundPts(pos, sur_pts, diff);
52 // double dists[2][2][2];
53 // getSurroundDistance(sur_pts, dists);
54 // interpolateTrilinear(dists, diff, dist, grad);
55 dist = sdf_map_->getDistWithGrad(pos, grad);
56}
57
58// EDTEnvironment::
59} // namespace hetero_planner

Callers 1

calConstrainCostGradMethod · 0.80

Calls 1

getDistWithGradMethod · 0.80

Tested by

no test coverage detected