tesseract-robotics / tesseract_ros_workcell

11 stars 6 forks source link

catkin build err .I use tesseract 2022 year #16

Open dbdxnuliba opened 2 years ago

dbdxnuliba commented 2 years ago

Errors << twc_motion_planning:make /home/robot/ws_tesseract_new/logs/twc_motion_planning/build.make.000.log
In file included from /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/src/twc_planning_server_node.cpp:46: /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/include/twc_motion_planning/utils.h: In member function 'virtual bool twc::DescartesStateValidator::operator()(const Eigen::Ref<const Eigen::Matrix<double, -1, 1> >&) const': /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/include/twc_motion_planning/utils.h:63:69: error: no matching function for call to 'satisfiesPositionLimits(const Eigen::Ref<const Eigen::Matrix<double, -1, 1> >&, const MatrixX2d&)' 63 | return tesseractcommon::satisfiesPositionLimits(vertex, limits); | ^ In file included from /home/robot/ws_tesseract_new/devel/include/tesseract_common/types.h:42, from /home/robot/ws_tesseract_new/devel/include/tesseract_environment/commands/add_contact_managers_plugin_info_command.h:36, from /home/robot/ws_tesseract_new/devel/include/tesseract_environment/commands.h:32, from /home/robot/ws_tesseract_new/devel/include/tesseract_environment/environment.h:37, from /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/src/twc_planning_server_node.cpp:31: /home/robot/ws_tesseract_new/devel/include/tesseract_common/kinematic_limits.h:91:6: note: candidate: 'template bool tesseract_common::satisfiesPositionLimits(const Eigen::Ref<const Eigen::Matrix<Scalar, -1, 1> >&, const Eigen::Ref<const Eigen::Matrix<FloatType, -1, 2> >&, const Eigen::Ref<const Eigen::Matrix<Scalar, -1, 1> >&, const Eigen::Ref<const Eigen::Matrix<Scalar, -1, 1> >&)' 91 | bool satisfiesPositionLimits(const Eigen::Ref<const Eigen::Matrix<FloatType, Eigen::Dynamic, 1>>& joint_positions, | ^~~~~~~ /home/robot/ws_tesseract_new/devel/include/tesseract_common/kinematic_limits.h:91:6: note: template argument deduction/substitution failed: In file included from /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/src/twc_planning_server_node.cpp:46: /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/include/twc_motion_planning/utils.h:63:69: note: 'const MatrixX2d' {aka 'const Eigen::Matrix<double, -1, 2>'} is not derived from 'const Eigen::Ref<const Eigen::Matrix<FloatType, -1, 2> >' 63 | return tesseractcommon::satisfiesPositionLimits(vertex, limits); | ^ In file included from /home/robot/ws_tesseract_new/devel/include/tesseract_common/types.h:42, from /home/robot/ws_tesseract_new/devel/include/tesseract_environment/commands/add_contact_managers_plugin_info_command.h:36, from /home/robot/ws_tesseract_new/devel/include/tesseract_environment/commands.h:32, from /home/robot/ws_tesseract_new/devel/include/tesseract_environment/environment.h:37, from /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/src/twc_planning_server_node.cpp:31: /home/robot/ws_tesseract_new/devel/include/tesseract_common/kinematic_limits.h:126:6: note: candidate: 'template bool tesseract_common::satisfiesPositionLimits(const Eigen::Ref<const Eigen::Matrix<Scalar, -1, 1> >&, const Eigen::Ref<const Eigen::Matrix<FloatType, -1, 2> >&, FloatType, FloatType)' 126 | bool satisfiesPositionLimits(const Eigen::Ref<const Eigen::Matrix<FloatType, Eigen::Dynamic, 1>>& joint_positions, | ^~~~~~~ /home/robot/ws_tesseract_new/devel/include/tesseract_common/kinematic_limits.h:126:6: note: template argument deduction/substitution failed: In file included from /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/src/twc_planning_server_node.cpp:46: /home/robot/ws_tesseract_new/src/tesseract_ros_workcell-master/twc_motion_planning/include/twc_motion_planning/utils.h:63:69: note: 'const MatrixX2d' {aka 'const Eigen::Matrix<double, -1, 2>'} is not derived from 'const Eigen::Ref<const Eigen::Matrix<FloatType, -1, 2> >' 63 | return tesseractcommon::satisfiesPositionLimits(vertex, limits); | ^ make[2]: [CMakeFiles/twc_motion_planning_planning_server_node.dir/build.make:63: CMakeFiles/twc_motion_planning_planning_server_node.dir/src/twc_planning_server_node.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:213: CMakeFiles/twc_motion_planning_planning_server_node.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

LuciferMorningStar0786 commented 11 months ago

getting the same error

Did u reslove it