ros vrep bridge遇到的奇怪问题

来源:互联网 发布:装修类书籍软件 编辑:程序博客网 时间:2024/05/20 12:51

VREP版本:V-REP_PRO_EDU_V3_3_1_64_Linux

ROS:indigo

要使得两者能够互相通信,需要装ros vrep bridge。在装的时候遇到了两个奇怪的问题。

教程:https://github.com/lagadic/vrep_ros_bridge

基础教程请看上面的网站,就不多说了,错误出在编译的时候,即这一步:

$catkin_make

错误一:

 Could not find a package configuration file provided by "telekyb_msgs" with any of the following names:

telekyb_msgsConfig.cmaketelekyb_msgs-config.cmake
解决方案:

编译的时候跳过quadrotor_tk_handler,

$cd /Yourpathtoquadrotor_tk_handler/

$touch CATKIN_IGNORE

再返回去编译应该就可以了。


错误二:

 v_repTypes.h: 没有那个文件或目录;

还有v_repConst.h, v_repLib.h这两个文件,


发现错误的根源是

/YourPathToVREP/programming/include这个目录在/YourPathTocatkin/catkin_ws/src/vrep_ros_bridge/vrep_ros_plugin/CMakeLists.txt里面包含不进去(有包含的命令但结果还是找不到)

解决方案:

对CMake不了解,简单的把/YourPathToVREP/programming/include这个目录下的所有文件拷贝到/YourPathTocatkin/catkin_ws/src/vrep_ros_bridge/vrep_ros_plugin/include这个目录下,再返回编译,就没问题了。

0 0