Skip to content

Instantly share code, notes, and snippets.

View clydemcqueen's full-sized avatar

Clyde McQueen clydemcqueen

  • Seattle
View GitHub Profile
@ES-Alexander
ES-Alexander / mavlogparse.py
Last active March 1, 2025 04:52
A MAVLink telemetry (.tlog) file parser - similarish to mavlogdump, but (I think) nicer to use and process afterwards
#!/usr/bin/env python3
''' Mavlink telemetry (.tlog) file parser.
Operates as a generator. Allows csv output or listing useful types/fields.
'''
import json
from pathlib import Path
from fnmatch import fnmatch
from pymavlink import mavutil
@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):
@kervel
kervel / CMakeLists.txt
Last active November 6, 2023 09:50
Small ros2 python using pybind11
# will need to be tweaked for your project
make_minimum_required(VERSION 3.5)
project(test_ros_pb11)
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
endif()
# Default to C++14