小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
moveit2的编译源码colcon build这里error要怎么办
-
--- stderr: moveit_ros_planning
In file included from /home/wadd/moveit2_ws/src/moveit2/moveit_ros/planning/kinematics_plugin_loader/include/moveit/kinematics_plugin_loader/kinematics_plugin_loader.h:42,
from /home/wadd/moveit2_ws/src/moveit2/moveit_ros/planning/kinematics_plugin_loader/src/kinematics_plugin_loader.cpp:37:
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp: In member function ‘rcl_interfaces::msg::SetParametersResult kinematics::ParamListener::update(const std::vectorrclcpp::Parameter&)’:
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp59: error: ‘gt_eq’ is not a member of ‘parameter_traits’
100 | if(auto validation_result = parameter_traits::gt_eq<double>(param, 0.0);
| ^~~~~
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp65: error: expected primary-expression before ‘double’
100 | if(auto validation_result = parameter_traits::gt_eq<double>(param, 0.0);
| ^~~~~~/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp:107:59: error: ‘gt’ is not a member of ‘parameter_traits’
107 | if(auto validation_result = parameter_traits::gt<double>(param, 0.0);
| ^~
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp:107:62: error: expected primary-expression before ‘double’
107 | if(auto validation_result = parameter_traits::gt<double>(param, 0.0);
| ^~~~~~/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp: In member function ‘void kinematics::ParamListener::declare_params()’:
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp:153:53: error: ‘gt_eq’ is not a member of ‘parameter_traits’
153 | if(auto validation_result = parameter_traits::gt_eq<double>(param, 0.0);
| ^~~~~
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp:153:59: error: expected primary-expression before ‘double’
153 | if(auto validation_result = parameter_traits::gt_eq<double>(param, 0.0);
| ^~~~~~
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp:159:53: error: ‘gt’ is not a member of ‘parameter_traits’
159 | if(auto validation_result = parameter_traits::gt<double>(param, 0.0);
| ^~
/home/wadd/moveit2_ws/build/moveit_ros_planning/kinematics_plugin_loader/kinematics_parameters/include/kinematics_parameters.hpp:159:56: error: expected primary-expression before ‘double’
159 | if(auto validation_result = parameter_traits::gt<double>(param, 0.0);
| ^~~~~~
gmake[2]: *** [kinematics_plugin_loader/CMakeFiles/moveit_kinematics_plugin_loader.dir/build.make:76:kinematics_plugin_loader/CMakeFiles/moveit_kinematics_plugin_loader.dir/src/kinematics_plugin_loader.cpp.o] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:460:kinematics_plugin_loader/CMakeFiles/moveit_kinematics_plugin_loader.dir/all] 错误 2
gmake[1]: *** 正在等待未完成的任务....
gmake: *** [Makefile:146:all] 错误 2Failed <<< moveit_ros_planning [2min 3s, exited with code 2]
Summary: 13 packages finished [11min 29s]
1 package failed: moveit_ros_planning
2 packages had stderr output: moveit_configs_utils moveit_ros_planning
24 packages not processed -
@1012796051 已经测试后更新了
@小鱼 在 《动手学Moveit2》3.安装Moveit2 中说:
Summary: 55 packages finished [1h 13min 56s]
3 packages had stderr output: launch_param_builder moveit_configs_utils moveit_setup_srdf_plugins -
-
@小鱼 搞定了!!!谢谢鱼哥,为鱼哥举大旗!!!
-
同样的报错,请教一下怎么解决
-
@笨笨洋 重新看一下教程,已经更新了