Giter Site home page Giter Site logo

graspit_interface's Introduction

Build Status

graspit_interface

This plugin exposes a ROS interface for the GraspIt! simulator. The main purpose for writing this plugin was to demonstrate what we believe is the easiest way to expose GraspIt! functionality as a variety ROS services and action servers.

Please feel free to use this as a template to write your own bridge between a ros system and GraspIt!.

To see how a client interacts with this interface, check out our python client graspit_commander.

GraspIt Setup:

git clone https://github.com/graspit-simulator/graspit.git
cd graspit
mkdir build
cd build
cmake ..
make -j5
sudo make install

You might need to add /usr/local/lib to the loaded library path as in:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

You will also want to set the GRASPIT environment variable:

export GRASPIT=~/.graspit

On Linux, you can add both of these lines to the bottom of your ~/.bashrc

ROS Setup:

After running the GraspIt! Setup as explained above, the following details how to setup GraspIt! to work with ROS.

//create ros workspace
mkdir -p graspit_ros_ws/src
cd graspit_ros_ws/src

source /opt/ros/indigo/setup.bash
catkin_init_workspace . 

//clone packages
git clone https://github.com/graspit-simulator/graspit_interface.git
git clone https://github.com/graspit-simulator/graspit_commander.git

//build workspace
cd graspit_ros_ws
catkin_make

Launching graspit_interface:

source devel/setup.bash
roslaunch graspit_interface graspit_interface.launch

Then you can view available services and topics provided by the graspit_interface via:

rostopic list
rosservice list

graspit_interface's People

Contributors

adamjri avatar boyuanchen avatar davidwatkins avatar iretiayo avatar jaredweiss avatar jvarley avatar nwchen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.