Albatros UAV
A python library that provides high-level functions for UAVs based on MAVLink. It allows to easily handle communication with the flight controller to create friendly mission management systems.
Supported functionalities
Plane:
- arming vehicle,
- setting flight mode,
- setting servos positions,
- flying in
GUIDEDmode, - uploading mission and flying in
AUTOmode, - param protocol.
Copter:
- arming vehicle,
- setting flight mode,
- setting servos positions,
- flying in
GUIDEDmode, - param protocol,
- precision landing,
- uploading mission and flying in
AUTOmode.
Access to UAV telemetry via UAV.data
Supported MAVLink telemetry messages
AttitudeGlobalPositionIntGPSRawIntGPSStatusHeartbeatCommandACKMissionACKMissionRequestIntRadioStatusRcChannelsRawServoOutputRawSysStatusMissionItemReachedParamValuePositionTargetLocalNEDHomePositionLocalPositionNEDNavControllerOutput
Examples
Creating connection
from albatros import Plane, ConnectionType
from albatros.telem import ComponentAddress
# SITL connection is default
plane = Plane()
# Direct connection to the flight controller
plane = Plane(device="/dev/tty/USB0/", baud_rate=57600)
# You can also specify the ID of the vehicle you want to connect to and the ID of your system
# read more about MAVLink Routing in ArduPilot: https://ardupilot.org/dev/docs/mavlink-routing-in-ardupilot.html
plane_addr = ComponentAddress(system_id=1, component_id=1)
gcs_addr = ComponentAddress(system_id=255, component_id=1)
plane = Plane(uav_addr=plane_addr, my_addr=gcs_addr)
Arming vehicle (SITL simulation)
$ python -m examples.arming_vehicle
from albatros import UAV
vehicle = UAV()
while not vehicle.arm():
print("Waiting vehicle to arm")
print("Vehicle armed")
if not vehicle.disarm():
print("Disarm vehicle failed")
print("Vehicle disarmed")
Metadata
Release files for albatros-uav 0.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| albatros_uav-0.16.0.tar.gz | 26.4 kB | Without provenance | Details for albatros_uav-0.16.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| albatros_uav-0.16.0-py3-none-any.whl | Python 3 | none | any | Details for albatros_uav-0.16.0-py3-none-any.whl |
Total release size: 57.5 kB
Release files / albatros_uav-0.16.0.tar.gz
| Download URL | albatros_uav-0.16.0.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60d5f4a1c3bb70b855d419ceaed464518beb396b9c456b99ed6ff9b3c0735d9a
|
|
BLAKE2b-256 checksum How to use checksums |
63a5d3b58fd0c44ef525229be0258b54fc54659a6bd7cfda50ef8823d0ea4519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.5 Linux/6.6.47-1-MANJARO
|
Release files / albatros_uav-0.16.0-py3-none-any.whl
| Download URL | albatros_uav-0.16.0-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db2f5d07f9aa13a76a38373c3f64ca0ac7a9cb0a366cfdd4d3eead59c5462b15
|
|
BLAKE2b-256 checksum How to use checksums |
d8af92021881d3ec654864e1ba0dc984cef34afa29cd7dd57463f1c53135d4ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.5 Linux/6.6.47-1-MANJARO
|
Security for albatros-uav 0.16.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.