Coder Social home page Coder Social logo

stalhabukhari / diffco Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ucsdarclab/diffco

0.0 0.0 0.0 84 MB

An algorithm for differentiable proxy collision detection for robot trajectory optimization.

License: MIT License

Python 88.17% Jupyter Notebook 11.83%

diffco's Introduction

DiffCo

This is the codebase for our paper DiffCo: Auto-Differentiable Proxy Collision Detection with Multi-class Labels for Safety-Aware Trajectory Optimization, Yuheng Zhi, Nikhil Das, Michael Yip. [arxiv]

Installation

It is recommended to use Conda for virtual environment management.

pip install -r requirements.txt
pip install -e .

Start using DiffCo:

This is a library of a relatively easy implementation of the differentiable collision checker itself (under the directory diffco) and some scripts to reproduce experiments in the paper (under the directory script)

  1. speed_compare.py includes comprehensive examples of using DiffCo to do trajectory optimization. Besides the experiment in the paper, we also included an implementation of using DiffCo with Adam to optimize trajectories under constraints.
  2. [2,3]d_data_generation.py implements how to use MoveIt and FCL to generate the initial dataset for Baxter and Plannar robots, respectively. You may use any of your favourite collision detection library to do this.
  3. active.py contains code of the active learning experiment.
  4. distest_error_vis.py contains code for a few small experiments/demonstrations in the paper.

Additional steps for Baxter

  1. Install MoveIt.
  2. To install Baxter configurations, refer to this tutorial but change the versions of ros according to the one you installed. Note: Ubuntu 20.04 only has ros noetic supported AFAIK, so please do modify command lines from the Baxter tutorial according to the ros version that you installed.

diffco's People

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.