Skip to main content

Simple drone control simulation that serves as API for more complex programs.

Project description

Simple Drone Control (SDC)

Python Test Execution PyPI release Coverage Status Python version

Simple drone control simulation that serves as API for more complex programs.

[!IMPORTANT] This package has been developed with the sole purpose of serving as educational tool. It does not provide with real dynamic simulation models for drones nor tracks. However, it can be used to develop some initial ideas for autonomous drone flight algorithms, without having to deal with heavy constraints such as air drag, gravity, etc. Furthermore, since it has not been developed for external usage, multiple errors or inconsistencies might arise

Installation

This package has been released through PyPI, so it can be installed using Python's pip module:

python -m pip install --upgrade simple-drone-control

[!NOTE] The command above asumes that your Python interpreter is aliased to python and references a version equal to or greater than 3.10

Alternatively, it is also possible to clone this repository and use the package using pip and/or build.

Usage

The code snippet below shows all imports required to start developing a simulation. Take a look at this code skeleton example for a more detailed example.

import sdc  # Imports the whole package.

from sdc.core.vector import Vector3D, Rotator3D, distance3D  # Imports core functionality classes and functions.
from sdc.api.simulation import SimulationAPI  # Imports API simulation class.
from sdc.environment.reader import TrackSequenceReader  # Imports a reader class for track databases.

[!WARNING] The package is installed as simple-drone-control, but imported as sdc. Attempting to import it using the installation name will result in an error

Contributions

This package has not been developed with expansion expectations, yet external feedback is always welcome, so feel free to drop your suggestions or error reports on the issues section.

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

simple-drone-control-1.1.0.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

simple_drone_control-1.1.0-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

Details for the file simple-drone-control-1.1.0.tar.gz.

File metadata

  • Download URL: simple-drone-control-1.1.0.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for simple-drone-control-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e876bab2f51ea1ce059abc70f5fd7957e2d2c9cd7cccee5edce6fa1bce285749
MD5 e367cafd0da2160e3134efe59cbe9d8c
BLAKE2b-256 e1860162755a0a14ced99f9237012e5951427743179a574809280039cc1b550f

See more details on using hashes here.

File details

Details for the file simple_drone_control-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_drone_control-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e68d0483a7c6ead34e96874edc184e3a53198b0a0836eae384d37d7f8f45884
MD5 7bcfcb321cfcbfb24c4af56b158ebd19
BLAKE2b-256 d617eac83716ea7dac6bf977dc7a437d2cbd83a918c10df2ec479d1665a9258f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page