Open HuaYuXiao opened 6 months ago
/home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘std::vector<long int> sdf_tools::SignedDistanceField::LocationToGridIndex3d(const Vector3d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:902:53: error: could not convert ‘((const sdf_tools::SignedDistanceField*)this)->sdf_tools::SignedDistanceField::distance_field_.VoxelGrid::VoxelGrid<float>::LocationToGridIndex3d((* & location))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 902 | return distance_field_.LocationToGridIndex3d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘std::vector<long int> sdf_tools::SignedDistanceField::LocationToGridIndex4d(const Vector4d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:907:53: error: could not convert ‘((const sdf_tools::SignedDistanceField*)this)->sdf_tools::SignedDistanceField::distance_field_.VoxelGrid::VoxelGrid<float>::LocationToGridIndex4d((* & location))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 907 | return distance_field_.LocationToGridIndex4d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘std::vector<long int> sdf_tools::SignedDistanceField::LocationToGridIndex(double, double, double) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:912:51: error: could not convert ‘((const sdf_tools::SignedDistanceField*)this)->sdf_tools::SignedDistanceField::distance_field_.VoxelGrid::VoxelGrid<float>::LocationToGridIndex(((double)x), ((double)y), ((double)z))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 912 | return distance_field_.LocationToGridIndex(x, y, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘std::vector<double> sdf_tools::SignedDistanceField::GridIndexToLocation(const VoxelGrid::GRID_INDEX&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:917:51: error: could not convert ‘VoxelGrid::VoxelGrid<T, BackingStore>::GridIndexToLocation(const VoxelGrid::GRID_INDEX&) const [with T = float; BackingStore = std::vector<float>; Eigen::Vector4d = Eigen::Matrix<double, 4, 1>]((* & index))’ from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to ‘std::vector<double>’ 917 | return distance_field_.GridIndexToLocation(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | Eigen::Vector4d {aka Eigen::Matrix<double, 4, 1>} /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘std::vector<double> sdf_tools::SignedDistanceField::GridIndexToLocation(int64_t, int64_t, int64_t) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:922:51: error: could not convert ‘VoxelGrid::VoxelGrid<T, BackingStore>::GridIndexToLocation(int64_t, int64_t, int64_t) const [with T = float; BackingStore = std::vector<float>; Eigen::Vector4d = Eigen::Matrix<double, 4, 1>; int64_t = long int](((int64_t)x_index), ((int64_t)y_index), ((int64_t)z_index))’ from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to ‘std::vector<double>’ 922 | return distance_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Eigen::Vector4d {aka Eigen::Matrix<double, 4, 1>} /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘sdf_tools::SDF sdf_tools::SignedDistanceField::GetMessageRepresentation()’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:994:62: error: ‘class VoxelGrid::VoxelGrid<float>’ has no member named ‘GetRawData’; did you mean ‘SetRawData’? 994 | const std::vector<float>& raw_data = distance_field_.GetRawData(); | ^~~~~~~~~~ | SetRawData /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘visualization_msgs::Marker sdf_tools::SignedDistanceField::ExportForDisplay(float) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:1067:87: error: conversion from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to non-scalar type ‘std::vector<double>’ requested 1067 | std::vector<double> location = distance_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘visualization_msgs::Marker sdf_tools::SignedDistanceField::ExportForDisplayCollisionOnly(float) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:1142:91: error: conversion from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to non-scalar type ‘std::vector<double>’ requested 1142 | std::vector<double> location = distance_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp: In member function ‘visualization_msgs::Marker sdf_tools::SignedDistanceField::ExportForDebug(float) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf.cpp:1188:87: error: conversion from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to non-scalar type ‘std::vector<double>’ requested 1188 | std::vector<double> location = distance_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘int64_t sdf_tools::TaggedObjectCollisionMapGrid::MarkConnectedComponent(int64_t, int64_t, int64_t, uint32_t)’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:378:62: error: ‘class VoxelGrid::VoxelGrid<sdf_tools::TAGGED_OBJECT_COLLISION_CELL>’ has no member named ‘GetRawData’; did you mean ‘SetRawData’? 378 | size_t queued_hashtable_size_hint = collision_field_.GetRawData().size() / 32; | ^~~~~~~~~~ | SetRawData /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘std::vector<VoxelGrid::GRID_INDEX> sdf_tools::TaggedObjectCollisionMapGrid::CheckIfConvex(const VoxelGrid::GRID_INDEX&, std::unordered_map<VoxelGrid::GRID_INDEX, signed char>&, const VoxelGrid::VoxelGrid<std::vector<unsigned int> >&, uint32_t) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:492:100: error: conversion from ‘VoxelGrid::GRID_INDEX’ to non-scalar type ‘std::vector<long int>’ requested 492 | std::vector<int64_t> raw_interpolated_index = region_grid.LocationToGridIndex3d(interpolated_location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘std::pair<bool, bool> sdf_tools::TaggedObjectCollisionMapGrid::CheckIfCandidateCorner3d(const Vector3d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:608:84: error: conversion from ‘VoxelGrid::GRID_INDEX’ to non-scalar type ‘const std::vector<long int>’ requested 608 | const std::vector<int64_t> indices = collision_field_.LocationToGridIndex3d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘std::pair<bool, bool> sdf_tools::TaggedObjectCollisionMapGrid::CheckIfCandidateCorner4d(const Vector4d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:621:84: error: conversion from ‘VoxelGrid::GRID_INDEX’ to non-scalar type ‘const std::vector<long int>’ requested 621 | const std::vector<int64_t> indices = collision_field_.LocationToGridIndex4d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘std::vector<long int> sdf_tools::TaggedObjectCollisionMapGrid::LocationToGridIndex3d(const Vector3d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:888:54: error: could not convert ‘((const sdf_tools::TaggedObjectCollisionMapGrid*)this)->sdf_tools::TaggedObjectCollisionMapGrid::collision_field_.VoxelGrid::VoxelGrid<sdf_tools::TAGGED_OBJECT_COLLISION_CELL>::LocationToGridIndex3d((* & location))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 888 | return collision_field_.LocationToGridIndex3d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘std::vector<long int> sdf_tools::TaggedObjectCollisionMapGrid::LocationToGridIndex4d(const Vector4d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:893:54: error: could not convert ‘((const sdf_tools::TaggedObjectCollisionMapGrid*)this)->sdf_tools::TaggedObjectCollisionMapGrid::collision_field_.VoxelGrid::VoxelGrid<sdf_tools::TAGGED_OBJECT_COLLISION_CELL>::LocationToGridIndex4d((* & location))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 893 | return collision_field_.LocationToGridIndex4d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘std::vector<long int> sdf_tools::TaggedObjectCollisionMapGrid::LocationToGridIndex(double, double, double) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:898:52: error: could not convert ‘((const sdf_tools::TaggedObjectCollisionMapGrid*)this)->sdf_tools::TaggedObjectCollisionMapGrid::collision_field_.VoxelGrid::VoxelGrid<sdf_tools::TAGGED_OBJECT_COLLISION_CELL>::LocationToGridIndex(((double)x), ((double)y), ((double)z))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 898 | return collision_field_.LocationToGridIndex(x, y, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘std::vector<double> sdf_tools::TaggedObjectCollisionMapGrid::GridIndexToLocation(int64_t, int64_t, int64_t) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:903:52: error: could not convert ‘VoxelGrid::VoxelGrid<T, BackingStore>::GridIndexToLocation(int64_t, int64_t, int64_t) const [with T = sdf_tools::TAGGED_OBJECT_COLLISION_CELL; BackingStore = std::vector<sdf_tools::TAGGED_OBJECT_COLLISION_CELL, std::allocator<sdf_tools::TAGGED_OBJECT_COLLISION_CELL> >; Eigen::Vector4d = Eigen::Matrix<double, 4, 1>; int64_t = long int](((int64_t)x_index), ((int64_t)y_index), ((int64_t)z_index))’ from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to ‘std::vector<double>’ 903 | return collision_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Eigen::Vector4d {aka Eigen::Matrix<double, 4, 1>} /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp: In member function ‘sdf_tools::TaggedObjectCollisionMap sdf_tools::TaggedObjectCollisionMapGrid::GetMessageRepresentation() const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/tagged_object_collision_map.cpp:977:86: error: ‘const class VoxelGrid::VoxelGrid<sdf_tools::TAGGED_OBJECT_COLLISION_CELL>’ has no member named ‘GetRawData’; did you mean ‘SetRawData’? 977 | const std::vector<TAGGED_OBJECT_COLLISION_CELL>& raw_data = collision_field_.GetRawData(); | ^~~~~~~~~~ | SetRawData /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘int64_t sdf_tools::CollisionMapGrid::MarkConnectedComponent(int64_t, int64_t, int64_t, uint32_t)’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:283:62: error: ‘class VoxelGrid::VoxelGrid<sdf_tools::COLLISION_CELL>’ has no member named ‘GetRawData’; did you mean ‘SetRawData’? 283 | size_t queued_hashtable_size_hint = collision_field_.GetRawData().size() / 32; | ^~~~~~~~~~ | SetRawData /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘std::vector<long int> sdf_tools::CollisionMapGrid::LocationToGridIndex3d(const Vector3d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:548:54: error: could not convert ‘((const sdf_tools::CollisionMapGrid*)this)->sdf_tools::CollisionMapGrid::collision_field_.VoxelGrid::VoxelGrid<sdf_tools::COLLISION_CELL>::LocationToGridIndex3d((* & location))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 548 | return collision_field_.LocationToGridIndex3d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘std::vector<long int> sdf_tools::CollisionMapGrid::LocationToGridIndex4d(const Vector4d&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:553:54: error: could not convert ‘((const sdf_tools::CollisionMapGrid*)this)->sdf_tools::CollisionMapGrid::collision_field_.VoxelGrid::VoxelGrid<sdf_tools::COLLISION_CELL>::LocationToGridIndex4d((* & location))’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 553 | return collision_field_.LocationToGridIndex4d(location); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘std::vector<long int> sdf_tools::CollisionMapGrid::LocationToGridIndex(double, double, double) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:558:52: error: could not convert ‘((const sdf_tools::CollisionMapGrid*)this)->sdf_tools::CollisionMapGrid::collision_field_.VoxelGrid::VoxelGrid<sdf_tools::COLLISION_CELL>::LocationToGridIndex(x, y, z)’ from ‘VoxelGrid::GRID_INDEX’ to ‘std::vector<long int>’ 558 | return collision_field_.LocationToGridIndex(x, y, z); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | VoxelGrid::GRID_INDEX /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘std::vector<double> sdf_tools::CollisionMapGrid::GridIndexToLocation(int64_t, int64_t, int64_t) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:563:52: error: could not convert ‘VoxelGrid::VoxelGrid<T, BackingStore>::GridIndexToLocation(int64_t, int64_t, int64_t) const [with T = sdf_tools::COLLISION_CELL; BackingStore = std::vector<sdf_tools::COLLISION_CELL, std::allocator<sdf_tools::COLLISION_CELL> >; Eigen::Vector4d = Eigen::Matrix<double, 4, 1>; int64_t = long int](x_index, y_index, z_index)’ from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to ‘std::vector<double>’ 563 | return collision_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Eigen::Vector4d {aka Eigen::Matrix<double, 4, 1>} /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘sdf_tools::CollisionMap sdf_tools::CollisionMapGrid::GetMessageRepresentation()’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:637:65: error: ‘class VoxelGrid::VoxelGrid<sdf_tools::COLLISION_CELL>’ has no member named ‘GetRawData’; did you mean ‘SetRawData’? 637 | std::vector<COLLISION_CELL> raw_data = collision_field_.GetRawData(); | ^~~~~~~~~~ | SetRawData /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘visualization_msgs::Marker sdf_tools::CollisionMapGrid::ExportForDisplay(const ColorRGBA&, const ColorRGBA&, const ColorRGBA&) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:1260:88: error: conversion from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to non-scalar type ‘std::vector<double>’ requested 1260 | std::vector<double> location = collision_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp: In member function ‘visualization_msgs::Marker sdf_tools::CollisionMapGrid::ExportConnectedComponentsForDisplay(bool) const’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/collision_map.cpp:1321:88: error: conversion from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to non-scalar type ‘std::vector<double>’ requested 1321 | std::vector<double> location = collision_field_.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf_builder.cpp: In member function ‘bool sdf_tools::SDF_Builder::BuildInternalPlanningScene()’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf_builder.cpp:87:134: error: no matching function for call to ‘planning_scene::PlanningScene::PlanningScene(boost::shared_ptr<urdf::Model>&, boost::shared_ptr<srdf::Model>&)’ 87 | planning_scene_ptr_ = std::shared_ptr<planning_scene::PlanningScene>(new planning_scene::PlanningScene(urdf_model, srdf_model)); | ^ In file included from /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/include/sdf_tools/sdf_builder.hpp:9, from /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf_builder.cpp:12: /opt/ros/noetic/include/moveit/planning_scene/planning_scene.h:1059:3: note: candidate: ‘planning_scene::PlanningScene::PlanningScene(const PlanningSceneConstPtr&)’ 1059 | PlanningScene(const PlanningSceneConstPtr& parent); | ^~~~~~~~~~~~~ /opt/ros/noetic/include/moveit/planning_scene/planning_scene.h:1059:3: note: candidate expects 1 argument, 2 provided /opt/ros/noetic/include/moveit/planning_scene/planning_scene.h:179:3: note: candidate: ‘planning_scene::PlanningScene::PlanningScene(const ModelInterfaceSharedPtr&, const ModelConstSharedPtr&, const WorldPtr&)’ 179 | PlanningScene(const urdf::ModelInterfaceSharedPtr& urdf_model, const srdf::ModelConstSharedPtr& srdf_model, | ^~~~~~~~~~~~~ /opt/ros/noetic/include/moveit/planning_scene/planning_scene.h:179:54: note: no known conversion for argument 1 from ‘boost::shared_ptr<urdf::Model>’ to ‘const ModelInterfaceSharedPtr&’ {aka ‘const std::shared_ptr<urdf::ModelInterface>&’} 179 | PlanningScene(const urdf::ModelInterfaceSharedPtr& urdf_model, const srdf::ModelConstSharedPtr& srdf_model, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/ros/noetic/include/moveit/planning_scene/planning_scene.h:174:3: note: candidate: ‘planning_scene::PlanningScene::PlanningScene(const RobotModelConstPtr&, const WorldPtr&)’ 174 | PlanningScene(const moveit::core::RobotModelConstPtr& robot_model, | ^~~~~~~~~~~~~ /opt/ros/noetic/include/moveit/planning_scene/planning_scene.h:174:57: note: no known conversion for argument 1 from ‘boost::shared_ptr<urdf::Model>’ to ‘const RobotModelConstPtr&’ {aka ‘const std::shared_ptr<const moveit::core::RobotModel>&’} 174 | PlanningScene(const moveit::core::RobotModelConstPtr& robot_model, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf_builder.cpp: In member function ‘VoxelGrid::VoxelGrid<unsigned char> sdf_tools::SDF_Builder::UpdateCollisionMapFromPlanningScene()’: /home/hyx020222/planner_ws/src/Fast-Planner/plan_env/ThirdParty/sdf_tools/src/sdf_tools/sdf_builder.cpp:316:87: error: conversion from ‘Eigen::Vector4d’ {aka ‘Eigen::Matrix<double, 4, 1>’} to non-scalar type ‘std::vector<double>’ requested 316 | std::vector<double> location = collision_field.GridIndexToLocation(x_index, y_index, z_index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/build.make:102: plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/src/sdf_tools/sdf.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/build.make:76: plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/src/sdf_tools/tagged_object_collision_map.cpp.o] Error 1 make[2]: *** [plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/build.make:115: plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/src/sdf_tools/sdf_builder.cpp.o] Error 1 make[2]: *** [plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/build.make:63: plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/src/sdf_tools/collision_map.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2799: plan_env/ThirdParty/sdf_tools/CMakeFiles/sdf_tools.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Invoking "make install -j22 -l22" failed
Manually add function GetRawData in package arc_utilities.
GetRawData
arc_utilities