Skip to main content

Research software for navigating a UAV in indoor environments

Project description

example workflow codecov docs PyPI

image

A Python package for simulating UAV Navigation in Satellite-Less Environments. The package contains two algorithms the GTRS [1] and WLS [2] whose goal is to estimate and navigate a UAV.

Installation

Install from PyPI:

pip install --upgrade pip
pip install autonav

First Steps

After installing the package one can import the algorithms and necessary dependencies as follows:

from autonav import gtrs, wls
from autonav.file_handlers import readpathfile
from autonav.plots import plot_trajectories
from numpy import array

Afterwards, one can create the necessary values to run the algorithms:

b = 200
n = 8
a_i = array(
    [
    [0, 0, 0],
    [0, b, 0],
    [b / 2, 0, 0],
    [b / 2, b, 0],
    [0, 0, b / 8],
    [0, b, b / 8],
    [b / 2, 0, b / 8],
    [b / 2, b, b / 8],]
    ).T
k = 50
sigma = 1
initial_uav_position = [10, 10, 5]
destinations = readpathfile("tests/path_files/Path.txt")

Finally, call the GTRS or WLS algorithm and plot the trajectories:

[estimated_trajectory, true_trajectory] = gtrs(a_i, n, k, sigma, destinations, initial_uav_position)
plot_trajectories(destinations, estimated_trajectory, a_i)

Trajectories

References

[1] J. P. Matos-Carvalho, R. Santos, S. Tomic and M. Beko, "GTRS-Based Algorithm for UAV Navigation in Indoor Environments Employing Range Measurements and Odometry," in IEEE Access, vol. 9, pp. 89120-89132, 2021, doi: 10.1109/ACCESS.2021.3089900. https://ieeexplore.ieee.org/document/9456863

[2] R. Santos, J. P. Matos-Carvalho, S. Tomic and M. Beko, "WLS algorithm for UAV navigation in satellite‐less environments," in IET Wireless Sensor Systems, 2022, 12, (3-4), p. 93-102, DOI: 10.1049/wss2.12041 IET Digital Library, https://ietresearch.onlinelibrary.wiley.com/doi/full/10.1049/wss2.12041

License

MIT License

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

autonav-1.0.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autonav-1.0.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file autonav-1.0.0.tar.gz.

File metadata

  • Download URL: autonav-1.0.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for autonav-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6637cb701e54033c752d358f1edb9b0b0f8fba4b9d5f41f459f14e5a8cb59d18
MD5 161df3494297266e7d3f901cbf0511d2
BLAKE2b-256 60fb5ac8dfa1232f786aa51a9ab05981633dfca39a506da8396c37976e7fc83c

See more details on using hashes here.

File details

Details for the file autonav-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: autonav-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for autonav-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3cd1cabd66390777e4d78eacdec0a9f75b03a43a79f64e25d0fc2ab16454b28
MD5 5372e69c5dba717338c3fc37e2155dce
BLAKE2b-256 e10e3b7f4475c298681812c5255061ffacf584b24b5920d3975ae6f8418fbd00

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