Monday, June 29, 2015

How to install GraspIt!

GraspIt! was created to serve as a tool for grasping research. It is a simulator that can accommodate arbitrary hand and robot designs. It can also load objects and obstacles of arbitrary geometry to populate a complete simulation world. The GraspIt! engine includes a rapid collision detection and contact determination system that allows a user to interactively manipulate a robot or an object and create contacts between them. Once a grasp is created, one of the key features of the simulator is the set of grasp quality metrics. Each grasp is evaluated with numeric quality measures, and visualization methods allow the user to see the weak point of the grasp and create arbitrary 3D projections of the 6D grasp wrench space. Here is the website:

If you are running Ubuntu 12 you can use this precompiled version:

If you want to compile it on Ubuntu 12 use the following commands:

$ cd Graspit/qhull/ && make && sudo make install && exit
$ cd /usr/local/include/
$ sudo ln -s libqhullcpp/* ./
$ sudo ln -s libqhull/*.h ./
$ cd Graspit/ && qmake && make

You will of course first have to install the prerequisites,

Using graspit :
$ cd /usr/lib/
$ sudo cp /usr/local/lib/ ./
$ sudo ln -s && exit
$ cd Graspit/bin/ && ./graspit

 You cannot build GraspIt! on Ubuntu 14, however there is a patch that can be used before compiling that fixes the incompatibility issues. Here is the patch: