This project was developed to simulate the UR3 robot arm moving through singularities.
- Copy this directory to somewhere on your Linux system. Note that you'll need to have ROS Kinetic installed. I'm using Ubuntu 16.04
- Install all dependencies for the ROS package. These can be found in the
package.xml
, but to list them, they areur3_moveit_config
andur_gazebo
, which are part of ROS industrial.
Each simulation has its own Python file to run it. The way I run this project is:
- First, launch Gazebo. Wait for Gazebo to load before proceeding to step 2
roslaunch ur_gazebo ur3.launch
- Next, launch the MoveIt planner for the UR3
roslaunch ur3_moveit_config ur3_moveit_planning_execution.launch sim:=true
- Last, launch the Python script that commands MoveIt via the Python wrapper.
There are three different files (one for each singularity), but for example:rosrun robotics_final move_UR3_wrist.py
I have included the log files that I recorded with Gazebo. These allow playback of the simulations I created. These can be found under final_ws/logs
.
To open a log is simple.
gazebo -u -p ~/final_ws/logs/[log]/gzserver/state.log
Here is an additional tutorial, just in case.
- Hook this up to a real UR3 arm (tutorial) to be a more effective demonstration
- Improve the visuals in Gazebo
- Improve the reliability and repeatability of each path. This would be crucial for a great demonstration on a real arm. One way to do this would be to use the C++ API for MoveIt, instead of the Python wrapper.