ntnu-arl / mbplanner_ros

Motion-primitives Based Planner for Fast & Agile Exploration
BSD 3-Clause "New" or "Revised" License
318 stars 84 forks source link

something error happend in catkin duild mbplanner_ros #11

Open xiecuijuan opened 2 years ago

xiecuijuan commented 2 years ago

first,thank you and your team for providing such a good algorithm but when i catkin build this workspace,some error happend. the error are as follows:

/home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/src/map_manager_octomap_impl.cpp: In member function ‘virtual explorer::MapManager::VoxelStatus explorer::MapManagerOctomap::getPathStatus(const Vector3d&, const Vector3d&, const Vector3d&, bool) const’: /home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/src/map_manager_octomap_impl.cpp:59:25: error: ‘class volumetric_mapping::OctomapManager’ has no member named ‘getDirectionalLineStatusBoundingBox’; did you mean ‘getLineStatusBoundingBox’? octomapmanager->getDirectionalLineStatusBoundingBox(start, end, box_size, true); ^~~~~~~~~~~ getLineStatusBoundingBox In file included from /home/jojo/mbplanner_ws/src/mapping/voxblox/voxblox_ros/include/voxblox_ros/tsdf_server.h:12:0, from /home/jojo/mbplanner_ws/src/mapping/voxblox/voxblox_ros/include/voxblox_ros/esdf_server.h:11, from /home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/include/planner_common/map_manager_voxblox_impl.h:5, from /home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/src/map_manager_voxblox_impl.cpp:1: /opt/ros/melodic/include/pcl_ros/point_cloud.h:303:27: warning: variable templates only available with -std=c++14 or -std=gnu++14 constexpr static bool pcl_uses_boost = true; ^~~~~~ /home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/src/map_manager_octomap_impl.cpp: In member function ‘virtual void explorer::MapManagerOctomap::getScanStatus(Eigen::Vector3d&, std::vector<Eigen::Matrix<double, 3, 1> >&, std::tuple<int, int, int>&, std::vector<std::pair<Eigen::Matrix<double, 3, 1>, explorer::MapManager::VoxelStatus> >&)’: /home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/src/map_manager_octomap_impl.cpp:77:21: error: ‘class volumetric_mapping::OctomapManager’ has no member named ‘getScanStatus’; did you mean ‘getLineStatus’? octomapmanager->getScanStatus(pos, multiray_endpoints, gain_log_vec, voxel_log_temp); ^~~~~ getLineStatus /home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/src/map_manager_octomap_impl.cpp: In member function ‘virtual void explorer::MapManagerOctomap::augmentFreeFrustum()’: /home/jojo/mbplanner_ws/src/exploration/mbplanner_ros/planner_common/src/map_manager_octomap_impl.cpp:91:66: error: ‘class volumetric_mapping::OctomapManager’ has no member named ‘augmentFreeFrustum’ void MapManagerOctomap::augmentFreeFrustum() { octomapmanager->augmentFreeFrustum(); }

is my version of octomap wrong?