The tool for managing unmanned aerial vehicles missions.
Project description
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. Albatross supports direct communication with UAVs as well as via Redis (WIP)
Supported functionalities
Plane:
- arming vehicle,
- setting flight mode,
- setting servos positions,
- flying in
GUIDED
mode, - uploading mission and flying in
AUTO
mode.
Copter:
- arming vehicle,
- setting flight mode,
- setting servos positions,
- flying in
GUIDED
mode, - comming soon: uploading mission and flying in
AUTO
mode.
Supported MAVLink telemetry messages
Attitude
GlobalPositionInt
GPSRawInt
GPSStatus
Heartbeat
CommandACK
MissionACK
MissionRequestInt
RadioStatus
RcChannelsRaw
ServoOutputRaw
SysStatus
MissionItemReached
Examples
Creating connection
from albatros.plane import Plane
from albatros.telemetry import ConnectionType
# 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 = Plane(vehicle_system_id=1, vehicle_component_id=1, my_sys_id=1, my_cmp_id=191)
Arming vehicle (in SITL simulation)
Simply arm and disarm vehicle
Flow: arm vehicle wait for the vehicle to be armed disarm vehicle
$ python -m examples.arming_vehicle
from albatros.copter import Copter
copter = Copter()
while not copter.arm():
print("waiting ARM")
copter.disarm()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
albatros_uav-0.4.2.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for albatros_uav-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0bfe614781a3490cb432179599a163d0b671ed8cdfa5a2d4bcad0ecfa808167 |
|
MD5 | 8d44b54af2f5b95e7b4b65c4576da32e |
|
BLAKE2b-256 | 53bb5ddbf25cdb8fa6998bf64122de880a4a206b390e81b6796ab15a32480a55 |