Closed HuaYuXiao closed 6 months ago
In file included from /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/src/edt_environment.cpp:26: /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/include/plan_env/edt_environment.h:69:38: error: invalid declarator before ‘interpolateTrilinear’ 69 | void pair<double, Eigen::Vector3d> interpolateTrilinear(double values[2][2][2], const Eigen::Vector3d& diff, | ^~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/include/plan_env/edt_environment.h:71:38: error: invalid declarator before ‘evaluateEDTWithGrad’ 71 | void pair<double, Eigen::Vector3d> evaluateEDTWithGrad(const Eigen::Vector3d& pos, double time, | ^~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/src/edt_environment.cpp: In member function ‘double fast_planner::EDTEnvironment::minDistToAllBox(const Vector3d&, const double&)’: /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/src/edt_environment.cpp:66:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<fast_planner::PolynomialPrediction>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 66 | for (int i = 0; i < obj_prediction_->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/src/edt_environment.cpp: At global scope: /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/src/edt_environment.cpp:84:36: error: invalid declarator before ‘EDTEnvironment’ 84 | void pair<double, Eigen::Vector3d> EDTEnvironment::interpolateTrilinear(double values[2][2][2], | ^~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/fast_planner/plan_env/src/edt_environment.cpp:107:36: error: invalid declarator before ‘EDTEnvironment’ 107 | void pair<double, Eigen::Vector3d> EDTEnvironment::evaluateEDTWithGrad(const Eigen::Vector3d& pos, | ^~~~~~~~~~~~~~
Reference: