Skip to content

HonghaoLYU/YuMi-ROS_control_sim_in_RobotStudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YuMi-ROS_control_sim_in_RobotStudio

A interface for controling yumi simulated in RobotStudio (RS) through ROS. If you don't have a real yumi robot, now you can sim it in the RobotStudio, and the most important is that a interface between
the ROS and RS is provided in this repo.

Author: Honghao Lv

Date-Version: 2019.10.16 V0.2

Date-Version: 2019.9.6 V0.2

Date-Version: 2019.9.6 V0.1

Requirements:

OS: Ubuntu16.04 ROS: Kinetic

Demo:

img

You can config this in your own PC follow the below steps:

  1. Clone this repo in your Windows PC, and creat a solution or station in your RS.
    Ps: You can load the rapid scripts through "Restore from System Backup". The system backup is in https://github.com/HonghaoLYU/YuMi-ROS_control_sim_in_RobotStudio/tree/master/Backups.
    You also can config the rapid script though the independent rapid module documents in https://github.com/HonghaoLYU/YuMi-ROS_control_sim_in_RobotStudio/tree/master/Backups/YuMi_Simfor_ROS/HOME/ROS.
  2. If you want to use ROS to control the configed YuMi in RS, you need to clone the another repo of mine which has rivised for the simulation. https://github.com/HonghaoLYU/YuMi-ROS_control_code_in_ROS
  3. Config the repo of Yumi_ws in anothor PC or Vitual Machine (another independent PC installed ubuntu is better).
  4. Connect the two PC with one network cable if you use two PC and config the IP4 static adress of PC with RS to 192.168.0.1, and also
    config the IP4 static adress of Ubuntu PC with ROS to 192.168.0.4. (has been revised, more details in V0.2 revise) PS: you need to shutdown the firewall of windows.
  5. start and run the sim yumi in RS, run the launch file in ubuntu:
    5.1 roslaunch yumi_support robot_interface_nogrippers.launch
    5.2 roslaunch yumi_moveit_config moveit_planning_execution_nogrippers.launch rviz:=true
  6. enjoy it.

V0.2 revise

  1. The init ip of the rapid sim system in robotstudio has been modeifed to the 10.11.122.38. Because of the fking static ip of ZJU's campus network identification. I don't want to modifed the ipv4 configration every time, so I have to
    modified it for adapting to campus network. 1.1 so now, you should config the IP4 static adress of PC with RS to 10.11.122.38 1.2 and config the IP4 static adress of Ubuntu PC with ROS to 10.11.122.35

About

A interface for controling yumi simulated in RobotStudio through ROS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published