Skip to main content

MAVCOM

Mavlink Communicator

Provides a simplified python interface for controlling Mavlink capable flight controllers.

Installation

pip install mavcon

Basic Usage

This is an example of how to use Mavcon with a simulated vehicle.

Run SITL:

sim_vehicle.py -v ArduCopter

from mavcon import mavcontrol
import time

vehicle = mavcon.Mavcon(
    connection_path = "127.0.0.1:14551",
)

vehicle.start()

while not vehicle.ready:
    print("Waiting for vehicle to initialise...")
    time.sleep(1)

vehicle.motors_armed = True
while not vehicle.motors_armed:
    print("Waiting for motors to spin up...")
    time.sleep(1)
    
vehicle.flight_mode = "GUIDED"
vehicle.takeoff(alt=10)

Release files for mavcon 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mavcon 1.1.3
File Size Uploaded
mavcon-1.1.3.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mavcon 1.1.3
File Interpreter ABI Platform
mavcon-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.3 kB

Release files / mavcon-1.1.3.tar.gz

Download URL mavcon-1.1.3.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f22abf875fa1bd9f504442bef279613f8d9eb5acc0f930152cbc6638418e21fe
BLAKE2b-256 checksum
How to use checksums
b13e4db4a1426b95f34d5557f92ae3cc9f3b44b95c3f0fe20beebc815afaed78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / mavcon-1.1.3-py3-none-any.whl

Download URL mavcon-1.1.3-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2545476b0a0a0e5d69ebf1a118ef04f50342087251673a3a6775f1212e12d26
BLAKE2b-256 checksum
How to use checksums
5cdb4beef102442a219ac92d6abd5cb969fa7290802daa6cdea77f837ed4aea6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page