How to build sbpl_arm_planner ?
Hi there,
I'm trying to work with python scripts which use sbpl. However I'm having a hard time building sbpl_arm_planner, it spits me a list of errors :
In file included from /home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/occupancy_grid.cpp:32:0:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/include/sbpl_arm_planner/occupancy_grid.h: In member function ‘void sbpl_arm_planner::OccupancyGrid::addPointsToField(const std::vector<btVector3>&)’:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/include/sbpl_arm_planner/occupancy_grid.h:198:33: error: no matching function for call to ‘distance_field::PropagationDistanceField::addPointsToField(const std::vector<btVector3>&)’
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/include/sbpl_arm_planner/occupancy_grid.h:198:33: note: candidate is:
/home/gmanfred/devel/ros/packs/arm_navigation/distance_field/include/distance_field/propagation_distance_field.h:131:16: note: virtual void distance_field::PropagationDistanceField::addPointsToField(const std::vector<tf::Vector3>&)
/home/gmanfred/devel/ros/packs/arm_navigation/distance_field/include/distance_field/propagation_distance_field.h:131:16: note: no known conversion for argument 1 from ‘const std::vector<btVector3>’ to ‘const std::vector<tf::Vector3>&’
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/occupancy_grid.cpp: In member function ‘void sbpl_arm_planner::OccupancyGrid::addCollisionCuboid(double, double, double, double, double, double)’:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/occupancy_grid.cpp:176:41: error: no matching function for call to ‘distance_field::PropagationDistanceField::addPointsToField(std::vector<btVector3>&)’
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/occupancy_grid.cpp:176:41: note: candidate is:
/home/gmanfred/devel/ros/packs/arm_navigation/distance_field/include/distance_field/propagation_distance_field.h:131:16: note: virtual void distance_field::PropagationDistanceField::addPointsToField(const std::vector<tf::Vector3>&)
/home/gmanfred/devel/ros/packs/arm_navigation/distance_field/include/distance_field/propagation_distance_field.h:131:16: note: no known conversion for argument 1 from ‘std::vector<btVector3>’ to ‘const std::vector<tf::Vector3>&’
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/occupancy_grid.cpp: In member function ‘void sbpl_arm_planner::OccupancyGrid::visualize()’:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/occupancy_grid.cpp:208:10: error: ‘class distance_field::PropagationDistanceField’ has no member named ‘visualize’
make[3]: *** [CMakeFiles/sbpl_arm_planner.dir/src/occupancy_grid.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/sbpl_arm_model.cpp: In member function ‘bool sbpl_arm_planner::SBPLArmModel::computeTranslationalIK(std::vector<double>, double, std::vector<double>&)’:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/sbpl_arm_model.cpp:1031:19: warning: variable ‘g’ set but not used [-Wunused-but-set-variable]
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/bfs_3d.cpp: In member function ‘bool sbpl_arm_planner::BFS3D::runBFS()’:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/bfs_3d.cpp:236:33: warning: ‘statespace3D’ may be used uninitialized in this function [-Wuninitialized]
In file included from /home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/include/sbpl_arm_planner/sbpl_collision_space.h:35:0,
from /home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/include/sbpl_arm_planner/robarm3d/environment_robarm3d.h:46,
from /home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/src/discrete_space_information/robarm3d/environment_robarm3d.cpp:31:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/include/sbpl_arm_planner/occupancy_grid.h: In member function ‘void sbpl_arm_planner::OccupancyGrid::addPointsToField(const std::vector<btVector3>&)’:
/home/gmanfred/devel/ros/packs/full-body-nav/sbpl_arm_planner/include/sbpl_arm_planner/occupancy_grid.h:198:33: error ...