ROS与VREP通信

本文档介绍了如何安装ROS与VREP通信的桥梁vrep_ros_bridge,包括从指定链接获取安装指南并解决编译错误'nullptr'未声明的问题,通过在CMakelists.txt中添加定义。此外,还提供了验证通信的步骤,特别是参照vrep自带的示例进行测试。
摘要由CSDN通过智能技术生成

1安装.按照 https://www.cnblogs.com/zhuxuekui/p/5662159.html 最后的介绍(其实就是github上的安装说明安装好vrep_ros_bridge https://github.com/lagadic/vrep_ros_bridge)。

1 Go in the src folder of your catkin workspace in catkin_ws/src via terminal

2 Download the plugin from GIT typing:

git clone https://github.com/lagadic/vrep_ros_bridge.git

Delete the file "quadrotor_tk_handler" for it has a strange depends package "telekyb_msgs" which is useless for us and will result a missing package error.

3 Open the file bashrc:

gedit ~/.bashrc

in the end of the file add:

export VREP_ROOT_DIR=/ChangeWithyourPathToVrep

and, if you want to avoid to type the following command every time(not mandatory):

export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/path_to_catkin_ws/cat
  • 0
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值