mujoco_mpc

fork of deepmind's mpc (needs C++ 20)

https://github.com/anupamkaul/mujoco_mpc

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary

Keywords from Contributors

mujoco reinforcement-learning deep-neural-networks distributed
Last synced: 6 months ago · JSON representation ·

Repository

fork of deepmind's mpc (needs C++ 20)

Basic Info
  • Host: GitHub
  • Owner: anupamkaul
  • License: apache-2.0
  • Language: Makefile
  • Default Branch: main
  • Size: 34.3 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 3 years ago · Last pushed about 3 years ago
Metadata Files
Readme Contributing License Citation

README.md

MuJoCo MPC

MuJoCo MPC (MJPC) is an interactive application and software framework for real-time predictive control with MuJoCo, developed by DeepMind.

MJPC allows the user to easily author and solve complex robotics tasks, and currently supports three shooting-based planners: derivative-based iLQG and Gradient Descent, and a simple yet very competitive derivative-free method called Predictive Sampling.

Overview

To read the paper describing this software package, please see out preprint.

For a quick video overview of MJPC, click below.

Video

For a longer talk at the MIT Robotics Seminar describing our results, click below.

Talk

Graphical User Interface

For a detailed dive of the graphical user interface, see the MJPC GUI documentation.

Installation

You will need CMake and a working C++20 compiler to build MJPC. We recommend using VSCode and 2 of its extensions (CMake Tools and C/C++) to simplify the build process.

  1. Clone the repository: git clone https://github.com/deepmind/mujoco_mpc.git
  2. Configure the project with CMake (a pop-up should appear in VSCode)
  3. Build and run the mjpc target in "release" mode (VSCode defaults to "debug"). This will open and run the graphical user interface.

macOS

Additionally, install Xcode.

Ubuntu

Additionally, install: shell sudo apt-get install libgl1-mesa-dev libxinerama-dev libxcursor-dev libxrandr-dev libxi-dev ninja-build

Build Issues

If you encounter build issues, please see the Github Actions. Note, we are using clang-14.

Predictive Control

See the Predictive Control documentation for more information.

Contributing

See the Contributing documentation for more information.

Known Issues

MJPC is not production-quality software, it is a research prototype. There are likely to be missing features and outright bugs. If you find any, please report them in the issue tracker. Below we list some known issues, including items that we are actively working on.

  • We have not tested MJPC on Windows, but there should be no issues in principle.
  • Task specification, in particular the setting of norms and their parameters in XML, is a bit clunky. We are still iterating on the design.
  • The Gradient Descent search step is proportional to the scale of the cost function and requires per-task tuning in order to work well. This is not a bug but a property of vanilla gradient descent. It might be possible to ameliorate this with some sort of gradient normalisation, but we have not investigated this thoroughly.

Citation

If you use MJPC in your work, please cite our accompanying preprint:

bibtex @article{howell2022, title={{Predictive Sampling: Real-time Behaviour Synthesis with MuJoCo}}, author={Howell, Taylor and Gileadi, Nimrod and Tunyasuvunakool, Saran and Zakka, Kevin and Erez, Tom and Tassa, Yuval}, archivePrefix={arXiv}, eprint={2212.00541}, primaryClass={cs.RO}, url={https://arxiv.org/abs/2212.00541}, doi={10.48550/arXiv.2212.00541}, year={2022}, month={dec} }

Acknowledgments

The main effort required to make this repository publicly available was undertaken by Taylor Howell and the DeepMind Robotics Simulation team.

License and Disclaimer

All other content is Copyright 2022 DeepMind Technologies Limited and licensed under the Apache License, Version 2.0. A copy of this license is provided in the top-level LICENSE file in this repository. You can also obtain it from https://www.apache.org/licenses/LICENSE-2.0.

This is not an officially supported Google product.

Owner

  • Name: Anupam Kaul
  • Login: anupamkaul
  • Kind: user
  • Location: Sunnyvale CA
  • Company: Palm

Citation (CITATION.bib)

@article{howell2022,
  title={{Predictive Sampling: Real-time Behaviour Synthesis with MuJoCo}},
  author={Howell, Taylor and Gileadi, Nimrod and Tunyasuvunakool, Saran and Zakka, Kevin and Erez, Tom and Tassa, Yuval},
  archivePrefix={arXiv},
  eprint={2212.00541},
  primaryClass={cs.RO},
  url={https://arxiv.org/abs/2212.00541},
  doi={10.48550/arXiv.2212.00541},
  year={2022},
  month={dec}
}

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 230
  • Total Committers: 14
  • Avg Commits per committer: 16.429
  • Development Distribution Score (DDS): 0.8
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
taylor howell t****l@g****m 46
taylor t****l@g****m 37
Kristian Hartikainen k****n@g****m 35
Tom Erez e****m@g****m 34
Yuval Tassa t****a@g****m 25
Nimrod Gileadi n****d@g****m 19
Saran Tunyasuvunakool s****a@g****m 17
Kevin Zakka k****a@g****m 5
Anupam Kaul a****l@y****m 4
Daniel Tan d****7 4
Alessio Quaglino q****o@g****m 1
Copybara-Service c****r@g****m 1
Silvio Traversaro s****o@t****t 1
Ben Moran b****n@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels