A package using the A* algorithm to plan a path for a quadcopter
Project description
A* Path Planning Package
Overview
This is a simple package to plan a path for a quadcopter. It exposes 2 methods
- Set barriers
- Get Path
Installation
Requires:
- Python 3.6
- pip
- python venv
Linux & windows & MacOS environments
- Create a python virtual environment somewhere in your documents. Run the Instructions below OR follow this guide https://docs.python.org/3/tutorial/venv.html
a) Run this command python3 -m venv venvName to create a python3 virtual environment.
b) Run this command cd venvName to move into the virtual environement.
c)
i. (Linux only, required)Run this command source `myenv\Scripts\activate` to source the virtual environment's python installation. Your terminal should now show your venvName before each line.
ii. (Windows only, required)Run this command source `bin/activate` to source the virtual environment's python installation. Your terminal should now show your venvName before each line.
- Install the requried pip packages. Run the Instructions below
a) (Linux only, optional)Run this command which pip. Make sure the output points to a file that is in your venv.
b) Run this command pip install matplotlib numpy to install the required packages.
How to use in CopterMove script
Steps
-
Test the script a) Run the script b) Make sure that the output on the graph looks good
-
Package into a library and upload to the "Pypi" library repository; full documentation is here https://packaging.python.org/tutorials/packaging-projects/ a)
python3 setup.py sdist bdist_wheelb)pip install twinec) Increment the version number insetup.pyc)twine upload dist/* -
Install this library in the CopterMove script a) Step
3)a)here https://github.com/kholysa/CopterMove#linux-and-macos-environments
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file path-planning-kholysa-0.0.8.tar.gz.
File metadata
- Download URL: path-planning-kholysa-0.0.8.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9979c77c3246af8105df81e7dc3b7b8bc6ea04ce6579f0049442a2b108b5b357
|
|
| MD5 |
84ca799513aa1be4db5fbacce12a24b0
|
|
| BLAKE2b-256 |
143d09bf400f64c246c975f2a530dbfc1a40a61e1031f45cb295ebd4efa760cc
|
File details
Details for the file path_planning_kholysa-0.0.8-py3-none-any.whl.
File metadata
- Download URL: path_planning_kholysa-0.0.8-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
168f46db865e02d2ebc7d72eb655c4c22ef9d1e108b2c46ebb7d15430ec9d113
|
|
| MD5 |
e2049d421bbb6cc5e8ce0bea23c66172
|
|
| BLAKE2b-256 |
ba6898c500f996f4c4ddfb49c60c0cc06e1e756be9cb1d113e6ac807224638d2
|