A python package that creates a simplified programming interface for controlling Mavlink-capable flight controllers
Project description
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.
Run SITL:
sim_vehicle.py -v ArduCopter
from mavcom import mavcontrol
import time
vehicle = mavcom.Mavcom(
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)
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
mavcom-1.1.3.tar.gz
(12.4 kB
view details)
Built Distribution
mavcom-1.1.3-py3-none-any.whl
(12.6 kB
view details)
File details
Details for the file mavcom-1.1.3.tar.gz
.
File metadata
- Download URL: mavcom-1.1.3.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3981c55f105c83a805af7bcef0259a272080e91a9376440b4ca9352f058bfeb7 |
|
MD5 | c80328685c8f8b3e04173f54a2a327cc |
|
BLAKE2b-256 | cbef56f16c53fb8017505ef2d4aeed0f093cd952b13e65848a1a5b8be8ca1b48 |
File details
Details for the file mavcom-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: mavcom-1.1.3-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c31e56d7a59068ea0822faf134fb5026d940b626be21df9e71b9316bcce412c5 |
|
MD5 | ece49a87248ce91b919aa6e244d3a56a |
|
BLAKE2b-256 | 10901a28f1e9ac2744f9e6f8c8b878a52a790312b2eb4b73b8886e608e3bba81 |