Description: A demo using moveit_simple with the ur5
Developed by Mike Lautman at PickNik Consulting
TODO(mlautman): fix Travis badge:
Note: this package has not been released yet
sudo apt-get install ros-kinetic-ur5_moveit_simple
These instructions assume you are running on Ubuntu 16.04:
-
Install ROS Kinetic and the following build tools.
sudo apt-get install python-wstool python-catkin-tools -
Re-use or create a catkin workspace:
export CATKIN_WS=~/ws_catkin/ mkdir -p $CATKIN_WS cd $CATKIN_WS -
Download the required repositories and install any dependencies:
git clone git@github.com:PickNikRobotics/ur5_moveit_simple.git wstool init src wstool merge -t src ur5_moveit_simple/ur5_moveit_simple.rosinstall wstool update -t src rosdep install --from-paths src --ignore-src --rosdistro kinetic -
Configure and build the workspace:
catkin config --extend /opt/ros/kinetic --cmake-args -DCMAKE_BUILD_TYPE=Release catkin build -
Source the workspace.
source devel/setup.bash
To make sure you have the latest repos:
cd $CATKIN_WS/src/ur5_moveit_simple
git checkout master
git pull origin master
cd ..
wstool merge ur5_moveit_simple/ur5_moveit_simple.rosinstall
wstool update
rosdep install --from-paths . --ignore-src --rosdistro kinetic
Run ur5_demo
roslaunch ur5_moveit_simple ur5_demo.launch
Run ur5_demo with GDB
roslaunch ur5_moveit_simple ur5_demo.launch debug:=true
Run ur5_demo with Callgrind
roslaunch ur5_moveit_simple ur5_demo.launch callgrind:=true
Run ur5_demo with Valgrind
roslaunch ur5_moveit_simple ur5_demo.launch callgrind:=true
You must have a private rsa key ~/.ssh/id_rsa that is not password protected and is attached to your Github/Bitbucket/Gerrit accounts.
You must also have a working installation of docker.
-
Navigate to
$CATKIN_WS/src/ur5_moveit_simple/.docker. You should see theDockerfilerecipe in the directory. -
Build the docker image
cd $CATKIN_WS/src/ur5_moveit_simple/.docker cp ~/.ssh/id_rsa id_rsa && docker build -t ur5_moveit_simple:kinetic-source .; rm id_rsa -
Run the docker image
-
Without the gui
docker run -it --rm ur5_moveit_simple:kinetic-source /bin/bash -
With the gui (tested with Ubuntu native and a Ubuntu VM)
. ./gui-docker -it --rm ur5_moveit_simple:kinetic-source /bin/bash
-
Note: this package has not been released yet
To run roslint, use the following command with catkin-tools.
catkin build --no-status --no-deps --this --make-args roslint
To run catkin lint, use the following command with catkin-tools.
catkin lint -W2 --rosdistro kinetic
Use the following command with catkin-tools to run tests.
catkin run_tests --no-deps --this -i
