Skip to content

jvarley/graspit_commander

 
 

Repository files navigation

graspit_commander

Python ROS Client for GraspIt!

This package offers a python client for the services exposed in: https://github.com/graspit-simulator/graspit_interface

Installation:

Follow the instructions at https://github.com/graspit-simulator/graspit_interface.

Usage:

Start GraspIt! interface in one terminal.

source devel/setup.bash
roslaunch graspit_interface graspit_interface.launch

Then in a second terminal source ros workspace:

source devel/setup.bash

Then in python:

from graspit_commander import GraspitCommander
GraspitCommander.loadWorld("plannerMug")
GraspitCommander.planGrasps(max_steps=50000)

Tests:

In one terminal:

source devel/setup.bash
roslaunch graspit_interface graspit_interface.launch

Then in a second terminal:

source devel/setup.bash
roscd graspit_commander
py.test

About

Python ROS Client for GraspIt!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • CMake 0.5%