Git Product home page Git Product logo

samcon's Introduction

SamCon_pybullet

Pybullet implementation of SamCon (SIGGRAPH 2010 paper "Sampling-based Contact-rich Motion Control").

Humanoid cannot track the reference motion (exhibited in transparency) by using PD controllers.
gif

Use SamCon to reconstruct a modified motion which can be tracked by using PD controllers.
gif

Dependencies

pybullet
numpy
json
time
math
tensorboardX

How to use

We provide two motion examples at example/walk.txt & run.txt.
To visualize the example, you can follow:

cd SamCon
python test/test_samcon.py

If you want to perform SamCon on other motion sequences, you can also use the test/test_samcon.py, but you need to make some changes on it.

We use tensorboardX to quantitatively compare the sampled and reference pose.
To compare example/walk.txt & run.txt, you can follow:

cd SamCon/example/tensorboardX
tensorboard --logdir ./info

png

If you want to perform on your own result, modify and run test/draw_curve.py.

References

@incollection{liu2010sampling,
  title={Sampling-based contact-rich motion control},
  author={Liu, Libin and Yin, KangKang and van de Panne, Michiel and Shao, Tianjia and Xu, Weiwei},
  booktitle={ACM SIGGRAPH 2010 papers},
  pages={1--10},
  year={2010}
}

Zhihu tutorial - SamCon: sampling based controller
Github repository - kevinxie4c/samcon

samcon's People

Contributors

liangpan99 avatar

Watchers

James Cloos 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.