Metadata-Version: 2.1
Name: impact-meco
Version: 0.4.2
Summary: DIRAC MPC
Home-page: https://gitlab.kuleuven.be/meco-software/impact
Author: MECO-Group
Author-email: joris.gillis@kuleuven.be
License: LICENSE
Download-URL: https://gitlab.kuleuven.be/meco-software/impact/-/archive/v0.4.2/impact-v0.4.2.tar.gz
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE

# Impact: A Toolchain for Nonlinear Model Predictive Control Specification, Prototyping, and Deployment

<div align="center">

[![pipeline status](https://gitlab.kuleuven.be/meco-software/impact/badges/main/pipeline.svg)](https://gitlab.mech.kuleuven.be/meco-software/impact/commits/main)
[![license: LGPL v3](https://img.shields.io/badge/license-LGPL%20v3-success.svg)](https://opensource.org/licenses/LGPL-3.0)
[![pypi version](https://badge.fury.io/py/impact-meco.svg)](https://pypi.org/project/impact-meco/)
[![html docs](https://img.shields.io/static/v1.svg?label=docs&message=online&color=informational)](https://meco-software.pages.gitlab.kuleuven.be/impact/)

</div>

<div align="center">

<a href="https://gitlab.kuleuven.be/meco-software/impact"><img src="https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black" /></a>
<a href="https://gitlab.kuleuven.be/meco-software/impact"><img src="https://img.shields.io/badge/Windows-0078D6?st&logo=windows&logoColor=white" /></a>

</div>


## Description

Impact is a flexible toolchain for nonlinear model predictive control (NMPC) specification with automatic code generation capabilities. 

The toolchain reduces the engineering complexity of NMPC implementations by providing the user with an easy-to-use application programming interface, and with the flexibility of using multiple state-of-the-art tools and numerical optimization solvers for rapid prototyping of NMPC solutions. 

Impact is written in Python, users can call it from Python and MATLAB, and the generated NMPC solvers can be directly executed from C, Python, MATLAB and Simulink.

**License:** Impact is released under the [GNU LGPLv3 license](LICENSE).

## Installation

### Option 1: Installing with pip
You can install Impact (ideally into a virtual environment) via pip using the following command:

```
pip install impact-meco
```

### Option 2: Installing from cloned repository
Alternatively, you can clone this repository and install Impact from source. You just need to (i) clone the repository, (ii) move into Impact's root directory, and (iii) run the `setup.py` script with the `install` option. It will install your application into the virtualenv site-packages folder and also download and install all dependencies:

```
git clone https://gitlab.kuleuven.be/meco-software/impact.git
cd impact
python setup.py install
```
You could also use the `develop` option, instead of `install`, during the execution of `setup.py` as `python setup.py develop`. 
This has the advantage of just installing a link to the site-packages folder instead of copying the data over. You can then modify/update the source code without having to run `python setup.py install` again after every change.


## Submitting an issue

Please submit an issue if you want to report a bug or propose new features.


