Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lianghongzhuo committed Aug 24, 2021
1 parent a6af555 commit 9abfdf1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Install pygpg
# Python binding for Grasp Pose Generator (pyGPG)

## Install
- Install gpg
```
git clone https://github.com/atenpas/gpg.git
cd gpg && mkdir build && cd build && cmake .. && make
sudo make install
```
- Install Python 3.7:
- Install Python 3.7(optional):
`sudo apt install python3.7-dev`

- Then run command (in Python 3.7 environment):
- Install pygpg
```
git clone https://github.com/lianghongzhuo/pygpg.git
cd pygpg
Expand All @@ -22,3 +24,7 @@ import pygpg
points = [put your point cloud here, should be a nX3 numpy array]
grasps = pygpg.generate_grasps(points)
```

## Known issues:
- pcl default will add python2.7 path in to the system https://github.com/pybind/pybind11/issues/1637#issuecomment-557609822
So we need to hard code witch python to use in cmake file to avoid the pybind binding python2.7 with gpg.

0 comments on commit 9abfdf1

Please sign in to comment.