Parts Arrangement Robot Demo Video - [YouTube]
- Ubuntu 18.04
- ROS Melodic
- python 2.7
-
Install ROS
Follow these ROS Melodic installation instructions. You can select any of the default configurations in step 1.4; even the ROS-Base (Bare Bones) package (
ros-melodic-ros-base
) is enough. -
Download the code
$ cd ~/catkin_ws/src $ git clone https://github.com/Kminseo/Parts-Arrangement-Robot.git
-
Install python dependencies
$ cd ~/catkin_ws/src/Parts-Arrangement-Robot $ pip install -r requirements.txt
-
Install ROS dependencies
$ cd ~/catkin_ws $ rosdep install --from-paths src -i --rosdistro melodic $ sudo apt-get install ros-melodic-rosbash ros-melodic-ros-comm
-
Build
$ cd ~/catkin_ws $ catkin_make
$ roslaunch gripper_ur5 gazebo_env_setting.launch
$ roslaunch gripper_ur5_moveit_config moveit_planning_execution.launch
$ roslaunch yolov3_pytorch_ros detector.launch
$ rosrun gripper_ur5 robot_sorting_yolo.py
-
To simulate the robot environment launch the following:
$ roslaunch gripper_ur5 gazebo_env_setting.launch
-
For setting up the MoveIt! nodes to allow motion planning run:
$ roslaunch gripper_ur5_moveit_config moveit_planning_execution.launch`
-
Start screw grasp detection node:
$ roslaunch yolov3_pytorch_ros detector.launch
-
Start screw sorting robot node:
$ rosrun gripper_ur5 robot_sorting_yolo.py