Skip to main content

VHIP balancing in Python

Python code for Biped Stabilization by Linear Feedback of the Variable-Height Inverted Pendulum Model.

The main script unrolls VHIP trajectories with different balance controllers and reproduces plots as in the paper:

image

This repository is a lighter implementation of the original script vhip_stabilization.py that was released with the paper.

Installation

The recommended way is to use Conda:

conda create -f environment.yaml
conda activate vhip_light

Alternatively, you can install all dependencies from PyPI:

pip install cvxpy ipython matplotlib qpsolvers scipy

Usage

python main.py

See also

  • vhip_stabilization.py: original Python prototype as a single script, with dependencies on OpenRAVE and pymanoid (now deprectated).
  • VHIP walking controller: C++ version of the VHIP QP balancer that was validated on the HRP-4 humanoid robot.

Metadata

Release files for vhip_light 1.0.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 vhip_light 1.0.0
File Size Uploaded
vhip_light-1.0.0.tar.gz 24.4 kB Details

Built distribution (wheel)

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

Total release size: 51.5 kB

Release files / vhip_light-1.0.0.tar.gz

Download URL vhip_light-1.0.0.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
17eedb1dd8cdd1400163eaf36586319f01462ddcd8919f120021926324ecb37b
BLAKE2b-256 checksum
How to use checksums
f324b884ba573082b0325499e5531842b3010d469cbd99f706208cebbe7e8a4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / vhip_light-1.0.0-py3-none-any.whl

Download URL vhip_light-1.0.0-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66852b15acf3b56663d08975f0d53d601b1ebc9c342a38223383d4e90637b9a0
BLAKE2b-256 checksum
How to use checksums
3f6e111dd1a690ed1f2b0a0670d47f0e9a805c08af9926d7c0fc829de01f8fe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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