
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
differentiable-robot-model
Advanced tools
A pytorch library that implements differentiable and learnable robot models, which allows users to learn parameters of analytical robot models, and/or propagate gradients through analytical robot computations such as forward kinematics.
Differentiable and learnable robot model. Our differentiable robot model implements computations such as
forward kinematics and inverse dynamics, in a fully differentiable way. We also allow to specify
parameters (kinematics or dynamics parameters), which can then be identified from data (see examples folder).
Currently, our code should work with any kinematic trees. This package comes with wrappers specifically for:
You can find the documentation here: Differentiable-Robot-Model Documentation
Requirements: python>= 3.7
clone this repo and install from source:
git clone git@github.com:facebookresearch/differentiable-robot-model.git
cd differentiable-robot-model
python setup.py develop
2 examples scripts show the learning of kinematics parameters
python examples/learn_kinematics_of_iiwa.py
and the learning of dynamics parameters
python examples/learn_dynamics_of_iiwa.py
the notebook experiments/l4dc-sim-experiments
shows a set of experiments that are similar to what we presented
in our L4DC paper
@InProceedings{pmlr-v120-sutanto20a,
title = {Encoding Physical Constraints in Differentiable Newton-Euler Algorithm},
author = {Sutanto, Giovanni and Wang, Austin and Lin, Yixin and Mukadam, Mustafa and Sukhatme, Gaurav and Rai, Akshara and Meier, Franziska},
pages = {804--813},
year = {2020},
editor = {Alexandre M. Bayen and Ali Jadbabaie and George Pappas and Pablo A. Parrilo and Benjamin Recht and Claire Tomlin and Melanie Zeilinger},
volume = {120},
series = {Proceedings of Machine Learning Research},
address = {The Cloud}, month = {10--11 Jun},
publisher = {PMLR}, pdf = {http://proceedings.mlr.press/v120/sutanto20a/sutanto20a.pdf},
url = {http://proceedings.mlr.press/v120/sutanto20a.html},
}
running pytest
in the top-level folder will run our differentiable robot model tests,
which compare computations against pybullet.
We enforce linters for our code. The formatting
test will not pass if your code does not conform.
To make this easy for yourself, you can either
pip install pre-commit
pre-commit install
For Python code, use black.
To enforce this in VSCode, install black, set your Python formatter to black and set Format On Save to true.
To format manually, run: black .
differentiable-robot-model
is released under the MIT license. See LICENSE for additional details about it.
See also our Terms of Use and Privacy Policy.
FAQs
A pytorch library that implements differentiable and learnable robot models, which allows users to learn parameters of analytical robot models, and/or propagate gradients through analytical robot computations such as forward kinematics.
We found that differentiable-robot-model demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.