Skip to content

JoseBarreiros-TRI/quasistatic_simulator

 
 

Repository files navigation

Quasi-static Simulator

ci_badge

This repo provides an implementation of a differentiable, convex and quasi-static dynamics model which is effective for contact-rich manipulation planning. The dynamics formulation is described in

Additional interactive animations generated using the code in this repo can be found in this slide deck.

Dependencies

  • Drake built with Gurobi and Mosek. Free solvers (OSQP + SCS) also work, but SCS is a lot slower than Mosek for solving SOCPs.

Note that until this issue is resolved, this repo can only be built in debug mode if the official version of Drake is used, which is a lot slower than release mode. A workaround is described in the issue, but requires a custom branch of drake.

Docker

Remember to check out submodules before building the docker images.

git submodule update --init --recursive

In the root of this repo, to build, run

docker build -t qsim -f focal.dockerfile .

To run the github "build and test" action locally, run

docker run -v $PWD:"/github/workspace" --entrypoint "/github/workspace/scripts/run_tests.sh" qsim

Running python tests

In the root of the repo, run

pytest .

Multi-threaded testing with pytest-xdist :

pytest . -n auto

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 60.2%
  • Python 37.1%
  • CMake 2.1%
  • Other 0.6%