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