Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requirements file added #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mavsim_python/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__pycache__
.idea
24 changes: 24 additions & 0 deletions mavsim_python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Python templates for assignments in book: Small Unmanned Aircraft: Theory and Practice - R. Beard, T. McLain

## Setup instructions
It is recommended to work in virtual environment to avoid version mismatches and dependencies breaks

### create virtual env
```
cd mavsim_python
env_name=mav_env
virtualenv --system-site-packages $env_name
# to show up this env in jupyter notebook
python3 -m ipykernel install --user --name $env_name --display-name "$env_name"
```

### activate env
```
source mav_env/bin/activate
```

### install required packages
```
# requirements added for support till chapter 2. further requirements to be added soon.
pip3 install -r requirements.txt
```
7 changes: 7 additions & 0 deletions mavsim_python/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
numpy==1.16.2
opencv-python==4.1.0.25
Pillow==6.0.0
PyOpenGL==3.1.0
PyQt5==5.12.1
PyQt5-sip==4.19.15
pyqtgraph==0.10.0