Liuyvjin / shixi_dual_ur

实习:双ur机械臂控制
74 stars 13 forks source link

版本问题 #2

Open chch2010523 opened 4 years ago

chch2010523 commented 4 years ago

请问您使用的ros和Ubuntu版本是哪一个?是否需要安装ROS-I

chch2010523 commented 4 years ago

在ros noetic版本下,编译时报错:

-- Could NOT find industrial_msgs (missing: industrial_msgs_DIR) -- Could not find the required component 'industrial_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "industrial_msgs" with any of the following names:

industrial_msgsConfig.cmake
industrial_msgs-config.cmake

Add the installation prefix of "industrial_msgs" to CMAKE_PREFIX_PATH or set "industrial_msgs_DIR" to a directory containing one of the above files. If "industrial_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): shixi_dual_ur/src/ur_modern_driver/CMakeLists.txt:11 (find_package)

Liuyvjin commented 4 years ago

没记错的话用的是16.04和kinetic。另外你这个问题是industrial_msgs这个包找不到。

chch2010523 commented 4 years ago

请问这个包是不是在ros industry里面?

Liuyvjin commented 4 years ago

应该是的

chch2010523 commented 4 years ago

好的,谢谢

GradyM2M commented 2 years ago

博主你好,我在ros noetic版本下编译时报错如下: [ 20%] Building CXX object dual_ur/ur_modern_driver/CMakeFiles/ur_driver.dir/src/ros_main.cpp.o has no member named ‘payload’ return (resp.success = commander_.setPayload(req.payload)); Screenshot from 2022-03-08 19-46-18

yuepeng-0524 commented 2 years ago

博主你好,我在ros noetic版本下编译时报错如下: [ 20%] Building CXX object dual_ur/ur_modern_driver/CMakeFiles/ur_driver.dir/src/ros_main.cpp.o has no member named ‘payload’ return (resp.success = commander_.setPayload(req.payload)); Screenshot from 2022-03-08 19-46-18

我和你一样的问题,请问你解决了吗?

yuzi0537 commented 2 weeks ago

博主你好,我在ros noetic版本下编译时报错如下: [ 20%] Building CXX object dual_ur/ur_modern_driver/CMakeFiles/ur_driver.dir/src/ros_main.cpp.o has no member named ‘payload’ return (resp.success = commander_.setPayload(req.payload)); Screenshot from 2022-03-08 19-46-18

我和你一样的问题,请问你解决了吗?

将req.payload改为req.mass

GradyM2M commented 2 weeks ago

博主你好,我在ros noetic版本下编译时报错如下: [ 20%] Building CXX object dual_ur/ur_modern_driver/CMakeFiles/ur_driver.dir/src/ros_main.cpp.o has no member named ‘payload’ return (resp.success = commander_.setPayload(req.payload)); Screenshot from 2022-03-08 19-46-18

我和你一样的问题,请问你解决了吗?

将req.payload改为req.mass

That's right. https://blog.csdn.net/weixin_55188463/article/details/128935033