Skip to main content

Drone Navigation Library with AI capabilities

Project description

Northwind Drone Navigation Library

A comprehensive Python library for autonomous drone navigation and control systems, featuring AI-powered decision making, obstacle avoidance, and real-time stability control.

Features

1. Navigation (Powerful Brain)

  • set_destination(lat, lon) - Set navigation destination coordinates
  • calculate_route(start, end) - Calculate optimal flight route
  • update_position() - Update current drone position from sensors

2. Obstacle Handling (Critical)

  • detect_obstacle(sensor_data) - Detect obstacles using sensor data
  • avoid_obstacle(direction) - Execute obstacle avoidance maneuvers
  • recalculate_path() - Recalculate path around detected obstacles

3. Stability / Correction (Real Drone Behavior)

  • correct_drift(gps_error) - Correct GPS positioning drift
  • adjust_altitude(wind_data) - Adjust altitude based on wind conditions
  • hold_position() - Maintain stable hover position

4. Mission Control

  • start_mission() - Begin autonomous mission
  • pause_mission() - Pause current mission execution
  • return_home() - Return to home position safely

5. Simple AI Decision Layer

  • choose_action(state) - Choose optimal action based on current state
  • predict_next_move() - Predict next optimal move using AI

6. Data Logging (For Learning + Cloud)

  • log_flight_data() - Log flight telemetry and sensor data
  • export_data() - Export logged data to JSON files
  • send_to_cloud() - Upload data to cloud storage for analysis

Installation

pip install git+https://github.com/qwert1231231/northwind.git

Or clone and install locally:

git clone https://github.com/qwert1231231/northwind.git
cd northwind
pip install -e .

Quick Start

import northwind

# Set destination coordinates
northwind.set_destination(37.7749, -122.4194)  # San Francisco

# Start autonomous mission
northwind.start_mission()

# AI decision making
action = northwind.choose_action('normal')
next_move = northwind.predict_next_move()

# Log flight data
northwind.log_flight_data()
northwind.export_data()

Requirements

  • Python 3.8+
  • GPS/IMU sensors (for real drone integration)
  • Cloud storage account (optional, for data upload)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE file for details.

Repository

https://github.com/qwert1231231/northwind

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

northwind-1.0.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

northwind-1.0.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: northwind-1.0.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for northwind-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4682711db662f518d2c9002ddffdcb1991de8af17574391371d782b722b54cbd
MD5 ae377e6a2fca6e8b57893a15929f07a2
BLAKE2b-256 eb889f2ff3834938610a2728652716d9637f4fe5b54b6a96f31810708ad9f9a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: northwind-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for northwind-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f5befec60365e1e768feb5be29f53b52c8d881424ff7df22bd10829448b28bb
MD5 acc567da5608bea6011ac009c5017acc
BLAKE2b-256 32a4dae2fb830c5480b717507f25124b68711468c9d1fc7913ab7109f85ca7a8

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