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 coordinatescalculate_route(start, end)- Calculate optimal flight routeupdate_position()- Update current drone position from sensors
2. Obstacle Handling (Critical)
detect_obstacle(sensor_data)- Detect obstacles using sensor dataavoid_obstacle(direction)- Execute obstacle avoidance maneuversrecalculate_path()- Recalculate path around detected obstacles
3. Stability / Correction (Real Drone Behavior)
correct_drift(gps_error)- Correct GPS positioning driftadjust_altitude(wind_data)- Adjust altitude based on wind conditionshold_position()- Maintain stable hover position
4. Mission Control
start_mission()- Begin autonomous missionpause_mission()- Pause current mission executionreturn_home()- Return to home position safely
5. Simple AI Decision Layer
choose_action(state)- Choose optimal action based on current statepredict_next_move()- Predict next optimal move using AI
6. Data Logging (For Learning + Cloud)
log_flight_data()- Log flight telemetry and sensor dataexport_data()- Export logged data to JSON filessend_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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4682711db662f518d2c9002ddffdcb1991de8af17574391371d782b722b54cbd
|
|
| MD5 |
ae377e6a2fca6e8b57893a15929f07a2
|
|
| BLAKE2b-256 |
eb889f2ff3834938610a2728652716d9637f4fe5b54b6a96f31810708ad9f9a6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f5befec60365e1e768feb5be29f53b52c8d881424ff7df22bd10829448b28bb
|
|
| MD5 |
acc567da5608bea6011ac009c5017acc
|
|
| BLAKE2b-256 |
32a4dae2fb830c5480b717507f25124b68711468c9d1fc7913ab7109f85ca7a8
|