Skip to main content

VirtualModelControl

virtualmodelcontrol is a Python library for Virtual Model Control (VMC). Robots and controllers are described as mechanisms: coordinates plus springs, dampers, inertances and sources. One CasADi model serves the real-time controller, simulation and optimization.

A collaboration between EPFL (Prof. Josie Hughes) and the University of Cambridge (Prof. Fulvio Forni).

Install

Python ≥ 3.10 on Linux, macOS or Windows:

pip install virtualmodelcontrol

Then import virtualmodelcontrol as vmc. The latest development version installs with pip install "git+https://github.com/vigno0405/VirtualModelControl.git".

Develop

On Linux or macOS (Windows: see the install page in the docs):

git clone https://github.com/vigno0405/VirtualModelControl.git
cd VirtualModelControl
python3 -m venv .venv
.venv/bin/pip install -e ".[dev,docs]"
.venv/bin/python -m pytest

On Debian/Ubuntu, python3 -m venv needs the python3-venv package (sudo apt install python3-venv); a conda environment works too. If ROS 2 is sourced in your shell, prefix these commands with env -u PYTHONPATH so ROS's Python packages stay out of the environment.

Documentation

https://vigno0405.github.io/VirtualModelControl/

To build it locally: sphinx-build docs docs/_build/html, then open docs/_build/html/index.html.

Citing

See CITATION.cff.

Metadata

Release files for virtualmodelcontrol 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for virtualmodelcontrol 0.1.0
File Size Uploaded Provenance
virtualmodelcontrol-0.1.0.tar.gz 148.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for virtualmodelcontrol 0.1.0
File Interpreter ABI Platform
virtualmodelcontrol-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 203.5 kB

Release files / virtualmodelcontrol-0.1.0.tar.gz

Download URL virtualmodelcontrol-0.1.0.tar.gz
Size 148.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fa1a25a809bb38aee4c52cb05ac05b64388ecfa6f2a54f7687429dcb9b678a3e
BLAKE2b-256 checksum
How to use checksums
1cbaad0bd379e9af0c1a541a0c36e3c327fb6f6212d92a964dfa5aaa3ccac229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log

Release files / virtualmodelcontrol-0.1.0-py3-none-any.whl

Download URL virtualmodelcontrol-0.1.0-py3-none-any.whl
Size 55.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce0e156425eed2a4684adc83629311eaaaeda2943fd466b674d263d5419be16b
BLAKE2b-256 checksum
How to use checksums
0dff4e6570b822e917229e7d485f942bd332f247fc7b7495affb6c59c70584ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log

Security for virtualmodelcontrol 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for virtualmodelcontrol-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page