Universial Robot (4):Ubuntu 16.04+ROS Kinetic+MoveIt!+Gazebo+Real Robot配置全过程
2017-03-21 15:17
1121 查看
本文所讲的内容已经全都在Ubuntu 16.04+ROS Kinetic上实现,如有疑问,可以留言交流~
1.首先建立Catkin工作空间,下载所需资料:
mkdir -p /tmp/ws/src
cd /tmp/ws/src
git clone https://github.com/ros-industrial/universal_robot.git cd /tmp/ws
rosdep update
rosdep install --from-paths src --ignore-src
catkin_make
source devel/setup.bash
2.运行Gazebo仿真,打开新的终端,运行:
roslaunch ur_gazebo ur5.launch limited:=true
roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch sim:=true limited:=true
roslaunch ur5_moveit_config moveit_rviz.launch config:=true这时在Rviz中拖动机械臂到某个位置,并选择“planned and excute”就可以观察到机械臂在Rviz和Gazebo中同时运动。
3.运行真实机器人,关闭掉原来的终端,打开新的终端,运行:
roslaunch ur_bringup ur5_bringup.launch limited:=true robot_ip:=IP_OF_THE_ROBOT [reverse_port:=REVERSE_PORT]
roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch limited:=true
roslaunch ur5_moveit_config moveit_rviz.launch config:=true这时在Rviz中拖动机械臂到某个位置,并选择“planned and excute”就可以观察到机械臂在Rviz中运行,同时真机器人也在运行,记得随时按下急停键,以免发生意外。
4.有时步骤3会出问题,建议使用ur_modern_driver替换掉ur_driver,下载地址:https://github.com/ThomasTimm/ur_modern_driver
下载完之后,先使用catkin_make重新编译,ur_bringup.launch 选择ur_modern_driver目录下的,其他操作不变,一般问题就解决了。
1.首先建立Catkin工作空间,下载所需资料:
mkdir -p /tmp/ws/src
cd /tmp/ws/src
git clone https://github.com/ros-industrial/universal_robot.git cd /tmp/ws
rosdep update
rosdep install --from-paths src --ignore-src
catkin_make
source devel/setup.bash
2.运行Gazebo仿真,打开新的终端,运行:
roslaunch ur_gazebo ur5.launch limited:=true
roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch sim:=true limited:=true
roslaunch ur5_moveit_config moveit_rviz.launch config:=true这时在Rviz中拖动机械臂到某个位置,并选择“planned and excute”就可以观察到机械臂在Rviz和Gazebo中同时运动。
3.运行真实机器人,关闭掉原来的终端,打开新的终端,运行:
roslaunch ur_bringup ur5_bringup.launch limited:=true robot_ip:=IP_OF_THE_ROBOT [reverse_port:=REVERSE_PORT]
roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch limited:=true
roslaunch ur5_moveit_config moveit_rviz.launch config:=true这时在Rviz中拖动机械臂到某个位置,并选择“planned and excute”就可以观察到机械臂在Rviz中运行,同时真机器人也在运行,记得随时按下急停键,以免发生意外。
4.有时步骤3会出问题,建议使用ur_modern_driver替换掉ur_driver,下载地址:https://github.com/ThomasTimm/ur_modern_driver
下载完之后,先使用catkin_make重新编译,ur_bringup.launch 选择ur_modern_driver目录下的,其他操作不变,一般问题就解决了。
相关文章推荐
- Universial Robot (4):Ubuntu 16.04+ROS Kinetic+MoveIt!+Gazebo+Real Robot配置全过程
- ubuntu 16.04 ros kinetic Moveit Python: ImportError: cannot import name structs
- Ubuntu 16.04 配置ROS Kinetic的Eclipse开发环境
- ROS_Kinetic_25 在ubuntu16.04使用Leap_motion并作为手势输入控制Gazebo中的机器人
- Ubuntu 16.04 安装ROS kinetic提示Depends: ros-kinetic-desktop but it is not going to be installed
- ROS_Kinetic_25 在ubuntu16.04使用Leap_motion并作为手势输入控制Gazebo中的机器人
- ROS_Kinetic_25 在ubuntu16.04使用Leap_motion并作为手势输入控制Gazebo中的机器人
- ROS Kinetic系统在ubuntu16.04配置
- Ubuntu16.04下安装ROS Kinetic环境配置时出现没有那个文件目
- 友善S5P6818开发板配置ubuntu桌面环境与ROS kinetic全过程
- Universial Robot (3): 在Ubuntu 16.04和ROS Kinetic上使用UR3 Robot
- ROS(indigo)MoveIt!控制ABB RobotStudio 5.6x 6.0x中机器人运动
- ubuntu 16.04 ros环境配置
- Ubuntu 16.04下的美化配置过程
- Ubuntu 16.04 使用docker资料汇总与应用docker安装caffe并使用Classifier(ros kinetic+usb_cam+caffe)
- 安装ros、gazebo、moveit(rviz)
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明
- Ubuntu 16.04 使用docker资料汇总与应用docker安装caffe并使用Classifier(ros kinetic+usb_cam+caffe)
- Ubuntu 16.04 + ROS Kinetic 机器人操作系统学习镜像分享与使用安装说明