Code Monkey home page Code Monkey logo

visionbasedmanipulation's Introduction

visionBasedManipulation

Requirements

  1. Python 3.6/3.7
  2. PyTorch 1.8.0/1.9.0
  3. attrdict
  4. scikit-image
  5. PyBullet

This project is tested on Python 3.6 and 3.7, PyTorch 1.8.0 and 1.9.0.

Installation guidance

conda create -n <env_name> python=3.7
conda activate env_name
conda install pytorch==1.8.0 torchvision==0.9.0 cudatoolkit=11.1 -c pytorch -c conda-forge # Please make sure that the version of pytorch is compatible with the version of cudatoolkit, and the version of cudatoolkit is compatible with your GPU.
conda install scikit-image
pip install attrdict opencv-python matplotlib
pip install pybullet --upgrade --user
pip install -U rospkg
pip3 install open3d

Environment Setup

If you are using command line, before running our basic demo, you need to add the path to our project to the PYTHONPATH environment variable. Just run the following command.

export PYTHONPATH=$PYTHONPATH:/your/path/to/visionBasedManipulation:/your/path/to/visionBasedManipulation/network

if you are using vscode, you can use the launch.json file in .vscode folder to configure project and run the demo directly.

Basic demo

Activate the virtual environment and run the basic demo.

conda activate env_name
python demos/basicDemo.py

You can see a simulation like this:

Basic demo with ROS wrapper(ongoing)

This demo included a ROS wrapper for the basic demo, the RGB-D images and point clouds are generated from Pybullet simulation and published to ROS topic.

@TODO:

needs to add tf from Pybullet

conda activate env_name
python demos/basicROSDemo.py

Basic VGN demo(ongoing)

This demo adopt VGN in our setup, its a 6D grasp predicting method using point clouds as input.

conda activate env_name
python demos/basicVGNDemo.py

visionbasedmanipulation's People

Contributors

hilbertxu avatar mohammadkasaei 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.