Skip to main content

Python wrapper for TinyMPC

Project description

Python wrapper for TinyMPC.

Installation

    pip install tinympc

For development installation:

git clone --recursive https://github.com/TinyMPC/tinympc-python.git
cd tinympc-python
pip install -e .

Examples

The examples/ directory contains:

  • cartpole_example_one_solve.py
  • cartpole_example_mpc_constrained.py
  • cartpole_example_mpc.py
  • cartpole_example_code_generation.py
  • quadrotor_hover_code_generation.py - For online hyperparameter tuning of rho set ENABLE_ADAPTIVE_RHO to True

Documentation

Documentation and examples can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinympc-0.0.4.tar.gz (1.2 MB view details)

Uploaded Source

File details

Details for the file tinympc-0.0.4.tar.gz.

File metadata

  • Download URL: tinympc-0.0.4.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for tinympc-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b3f8a2f8a9395ca77853dee74eb7a2a16ee56c7f26caa25db8f321d0d52edc67
MD5 3a7a83aad014448c6bcb62a137d811e5
BLAKE2b-256 c484a605433177b346116b6a8c2f4e9c87d7c4e04b03546fa0d364816ccf02b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page