由于之前曾经同感git下载过universal_robot ,所以当重新建立工作空间后,缺出现以下几个问题
更新:安装时报错ur_modern_driver
解决方法:
git clone https://github.com/ros-industrial/industrial_core.git
到工作空间下,重新编译
参考网址:https://github.com/Nishida-Lab/motoman_project/issues/4
1,
编译过程中显示ur_modern_driver/src文件夹下ur_ros_wrapper.cpp文件下
realtime_tools/realtime_publisher.h: 没有那个文件或目录
解决方案:
从ros官网找到了这个包,http://wiki.ros.org/realtime_tools,并下载下来
然后将内部的realtime_publisher.h放到/home/~/catkin_ws/src/universal_robot/ur_modern_driver/include/ur_modern_driver目录下,并修改ur_ros_wrapper.cpp里程序头文件调用,
将
#include <realtime_tools/realtime_publisher.h>
修改成
#incl