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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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