Skip to content

Instantly share code, notes, and snippets.

View rjehangir's full-sized avatar

Rustom Jehangir rjehangir

View GitHub Profile
@ES-Alexander
ES-Alexander / mavactive.py
Last active December 11, 2024 00:36
An example of using `RC_OVERRIDE`s for basic vehicle control with Pymavlink. Includes a variety of other convenience functions.
from builtins import object
import weakref
from time import sleep
from threading import Thread, Event, Lock
from pymavlink import mavutil
import pymavlink.dialects.v20.ardupilotmega as mavlink
class WriteLockedFile(object):