A python library for solving the control allocation problem for marine craft with different types of actuators and control allocation methods.
-
Install the package using git from the master branch using
pip install git+https://github.com/incebellipipo/skadipy.git@master
-
Test the installation
python -c "import skadipy; print(skadipy.__version__)"
-
Clone the package and create a virtual environment.
python -m venv venv
-
Activate that virtual environment. It would change depending on the OS. On Linux or Mac
source venv/bin/activate
or on Windows
venv\Scripts\activate
-
Install package dependencies
pip install -r requirements.txt
Install packages if you wish to run notebooks
pip install -r requirements.examples.txt
From now on you should be able to run the notebooks and see the results.
-
Install the package
pip install -e .
-
Test the installation
python -c "import skadipy; print(skadipy.__version__)"
If it doesn't throw any error, the installation was successful.
src
: Source code for the librarytests
: Unit tests for the libraryexamples
: Examples of how to use the librarynotebooks
: Jupyter notebooks for the library showing examples and documentation.docs
: Documentation for the librarybin
: Scripts for running the library
Work funded by the Research Council of Norway (RCN) through NTNU AMOS (RCN project 223254), SFI AutoShip (RCN project 309230), and the Polish National Centre for Research and Development through the ENDURE project (NOR/POLNOR/ENDURE/0019/2019-00).