MAVCOM
Mavlink Communicator
Provides a simplified python interface for controlling Mavlink capable flight controllers.
Installation
pip install mavcom
Basic Usage
This is an example of how to use Mavcom with a simulated vehicle. To connect to a flight controller, you will most likely use UART0, therefore the connection path will instead be "/dev/ttyS0".
Run SITL:
sim_vehicle.py -v ArduCopter
from mavcom.mavcontrol import Mavcom
import time
vehicle = Mavcom(
connection_path = "127.0.0.1:14550",
)
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)
Metadata
Release files for mavcom 1.1.8
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 |
|---|---|---|---|---|
| mavcom-1.1.8.tar.gz | 14.3 kB | Without provenance | Details for mavcom-1.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mavcom-1.1.8-py3-none-any.whl | Python 3 | none | any | Details for mavcom-1.1.8-py3-none-any.whl |
Total release size: 28.4 kB
Release files / mavcom-1.1.8.tar.gz
| Download URL | mavcom-1.1.8.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25ab54a5c87f72bdb307c45094adabd6768be531e31e2a9a1c5304beda9e8541
|
|
BLAKE2b-256 checksum How to use checksums |
2d8e4416e5a4d9c76a56bb5fde5e0bd637132470b46a7d9ccfd970894979dc78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / mavcom-1.1.8-py3-none-any.whl
| Download URL | mavcom-1.1.8-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91f5014ecee9ac0aa1dbe22d3686219c0c2704b511c5d8322dc78ce5e355f6f0
|
|
BLAKE2b-256 checksum How to use checksums |
f28bca053e059f713cb413da5d4f1d116ea7675aae09f5eccc5160edb1a3401a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for mavcom 1.1.8
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.