Skip to content
Geometric grasping generator library for cuboids
C++ CMake GDB
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Separate suction grasps (#71) Nov 25, 2019
config_robot Separate suction grasps (#71) Nov 25, 2019
include/moveit_grasps Separate suction grasps (#71) Nov 25, 2019
robots Separate suction grasps (#71) Nov 25, 2019
src Separate suction grasps (#71) Nov 25, 2019
test Separate suction grasps (#71) Nov 25, 2019
.clang-format Clang-format Aug 22, 2018
.travis.yml add code coverage report test to travis (#75) Dec 2, 2019
CHANGELOG.rst Initial commit Mar 6, 2015
CMakeLists.txt Separate suction grasps (#71) Nov 25, 2019
LICENSE.txt Update repo URL (#19) Sep 6, 2018 Remove duplicate documentation from tutorials (#53) Aug 1, 2019
moveit_grasps.rosinstall use source builds of deps (#59) Aug 16, 2019
package.xml Open source cleanup (#29) Feb 28, 2019

MoveIt Grasps

A basic grasp generator for objects such as blocks or cylinders for use with the MoveIt pick and place pipeline. Does not consider friction cones or other dynamics. It also has support for suction grippers.

Its current implementation takes as input a pose vector (postition and orientation) and generates a large number of potential grasp approaches and directions. Also includes a grasp filter for removing kinematically infeasible grasps via threaded IK solvers.

This package includes:

  • Pose-based grasp generator for a block
  • Separate grasp generators for custom objects such as rectanguar or cylindrical objects
  • Grasp filter
  • Demo code and visualizations

Developed by Dave Coleman, Andy McEvoy, and Mike Lautman at PickNik Consulting with many contributors.

Build Status


Ubuntu Debian

Note: this package has not been released yet

sudo apt-get install ros-melodic-moveit-grasps

Install From Source

Clone this repository into a catkin workspace, then use the rosdep install tool to automatically download its dependencies.

Melodic (Ubuntu 18.04):

  1. Re-use or create a catkin workspace:

     export CATKIN_WS=~/ws_catkin/
     mkdir -p $CATKIN_WS/src
     cd $CATKIN_WS/src
  2. Download the required repositories and install any dependencies:

     git clone
     wstool init .
     wstool merge moveit_grasps/moveit_grasps.rosinstall
     wstool update
     rosdep install --from-paths . --ignore-src --rosdistro melodic
  3. Configure and build the workspace:

     cd $CATKIN_WS
     catkin config --extend /opt/ros/melodic --cmake-args -DCMAKE_BUILD_TYPE=Release
     catkin build
  4. Source the workspace.

     source devel/setup.bash

Usage Instructions

For detailed usage instructions visit the MoveIt Grasps tutorial.

Testing and Linting

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 melodic

Use the following command with catkin-tools to run tests.

catkin run_tests --no-deps --this -i
You can’t perform that action at this time.