HKUST-Aerial-Robotics / Fast-Planner

A Robust and Efficient Trajectory Planner for Quadrotors
GNU General Public License v3.0
2.4k stars 665 forks source link

it seems like there are two function in edu_envirment.cpp with return value missed #47

Closed tiemuhua closed 4 years ago

tiemuhua commented 4 years ago

pair<double, Eigen::Vector3d> EDTEnvironment::interpolateTrilinear(double values[2][2][2],......)in line 59 and pair<double, Eigen::Vector3d> EDTEnvironment::evaluateEDTWithGrad(const Eigen::Vector3d& pos,...,...)in line 82

it seems like these function do not return any thing image

by the way, what does the abbreviate EDT means? i only find Euclid Distance Field in the paper, but nothing with the abbreviate EDT.

ZbyLGsc commented 4 years ago

@tiemuhua The results are assigned to 'value' and 'grad'. The function should have been declared to return 'void' type instead of 'pair<>'. EDT refers to Euclidean distance transform.