Skip to content

Instantly share code, notes, and snippets.

View mrpollo's full-sized avatar
⚡
Journey before destination

Ramon Roche mrpollo

⚡
Journey before destination
View GitHub Profile
@mrpollo
mrpollo / 1_px4_v1.18_by_the_numbers.md
Created November 26, 2026 01:43
PX4 v1.18 by the numbers: contributors, development activity, release contents and flight testing

PX4 v1.18 by the numbers

A pick-list of verified numbers for the PX4 v1.18 announcement. Use whichever ones fit the story. Each section starts with the numbers most suited to a headline, and the caveats are at the end of the section they apply to. All figures are as of 2026-11-25.

The short version

  • 2,596 commits and 1,355 merged pull requests went into PX4 v1.18.
  • 196 people wrote code for it, and 81 of them were contributing to PX4 for the first time.
  • 143 reviewers left 5,223 reviews during development.
  • 379 flight logs were recorded on v1.18 pre-releases and the stable release. 356 of them are from real aircraft and rovers.
@mrpollo
mrpollo / px4_v1.18.0_log_counts.md
Last active November 26, 2026 00:58
PX4 v1.18.0 release cycle: Flight Review (logs.px4.io) log counts per tag

PX4 v1.18.0 release cycle: flight log counts

Summary

Between May and November 2026, PX4 v1.18 pre-releases and the final release were flown and logged at least 379 times. 356 of those logs come from real aircraft and rovers; the other 23 are simulation. Every number is a minimum, because private uploads and logs never shared anywhere cannot be counted.

Who flew them

Who Logs Vehicles
@mrpollo
mrpollo / mavlink_forwarding_bench_report.md
Last active April 2, 2026 05:25
MAVLink forwarding mutex benchmark: before/after results for PR #26894
@mrpollo
mrpollo / foxglove-meetup-report.html
Created March 17, 2026 02:19
Foxglove @ PX4 San Diego Meetup - Talk Research & Proposals (April 30, 2026)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Foxglove @ PX4 San Diego Meetup — Talk Topic Research</title>
<style>
:root {
--bg-primary: #0f1219;
--bg-secondary: #1a1f2e;
@mrpollo
mrpollo / plotjuggler-integration-analysis.md
Last active March 13, 2026 18:24
PlotJuggler + mavsim-viewer integration analysis — 4 expert reviews

PlotJuggler + mavsim-viewer Integration Analysis

Context

Exploring whether/how mavsim-viewer (lightweight C/Raylib 3D vehicle visualizer) and PlotJuggler (2D time-series plotting tool) could work together.

This is an open-ended exploration — not a fixed proposal. The embedding idea (mavsim-viewer as a PlotJuggler plugin) was just one angle considered among many. The real question is: what's the most valuable thing that could emerge from combining these tools?

Prompted by PlotJuggler PR #1295 — a WebSocket DataStreamer plugin (merged Feb 2026). That PR turned out to be inbound-only (data INTO PlotJuggler), not useful for driving an external visualizer.

@mrpollo
mrpollo / ticklish-dreaming-hejlsberg.md
Last active March 12, 2026 19:17
PX4-Autopilot SBOM Generation Plan

Plan: SBOM Generation for PX4-Autopilot

Format: SPDX 2.3 JSON

  • ISO standard (ISO/IEC 5962), aligns with Linux Foundation/Dronecode ecosystem
  • Zephyr RTOS (sibling LF project) uses SPDX, creating ecosystem consistency
  • SPDX License List identifiers already used in PX4 source headers
  • EU CRA compliance ready (reporting obligations start Sep 2026)
  • Construct JSON directly with stdlib (no pip dependency added to build chain)

What gets produced

@mrpollo
mrpollo / flight-review-next-plan.md
Last active March 11, 2026 23:29
Flight Review Next: Architecture & Implementation Plan - Replacement for logs.px4.io

Flight Review Next: Architecture & Implementation Plan

Executive Summary

Flight Review (logs.px4.io) has served the PX4 community for nearly 10 years since its first commit in October 2016. Built on Tornado/Bokeh/SQLite with an S3 FUSE mount, it processes 350k+ ULog flight logs but suffers from significant infrastructure pain: every page view re-parses the raw ULog file to regenerate all 35+ Bokeh plots, the S3 FUSE mount is fragile, the SQLite database locks under concurrent access, and the Python/Bokeh stack makes the frontend difficult to extend. This document proposes a ground-up replacement designed for performance, extensibility, and operational simplicity at any scale.


Current State Assessment

@mrpollo
mrpollo / flight-review-search-analysis.md
Created March 11, 2026 03:44
Flight Review /browse search hang — analysis from 3 perspectives

Flight Review /browse Search Hang — Analysis & Recommendations

Root Cause

browse.py line 88-95 fetches all 353k public logs from SQLite into Python memory on every request. When there's no search term, it's fast — it only processes the paginated slice (10-25 rows). When searching, it calls get_columns_from_tuple() on every single row (string formatting, airframe lookups, datetime conversions, HTML generation), then does Python string matching. 353k iterations of expensive Python work per keystroke. The database has zero indexes.


Perspective 1: AWS Principal Engineer

@mrpollo
mrpollo / dbinfo-infra-proposal.md
Last active March 10, 2026 03:56
Proposal: Move /dbinfo to S3 + CloudFront

Proposal: Move /dbinfo to S3 + CloudFront

Problem

The /dbinfo endpoint on logs.px4.io is completely non-functional. It queries SQLite for all ~353k public logs using an N+1 query pattern (one SELECT per log to join generated data), serializes ~205MB of JSON in-process, and attempts to serve it synchronously through Tornado. Every single request exceeds nginx's proxy timeout and returns a 504.

Over the 14.5 days of available nginx logs (Feb 24 – Mar 10, 2026), there were 1,679 requests to /dbinfo. Of these, 1,618 (96.4%) returned 504 gateway timeout, 41 returned 499 (client closed connection while waiting), and the remainder were 404/500/502 errors. Zero requests returned a successful 200 response. The endpoint is 100% broken.

A single IP address (122.179.88.65, using python-requests/2.32.5) accounts for 89% of all /dbinfo traffic. It polls 24/7 in a retry pattern: 5 requests at ~1 minute intervals, a 10-minute pause, then repeats. This is consistent with a client that sends a request, waits 6

@mrpollo
mrpollo / gist:8cbcf15e6d3e73874ee5dc4367d7d6ca
Created March 7, 2026 22:20
SIH Ackermann rover default tuning analysis: speed overshoot and hairpin stall
# rover: SIH Ackermann default tuning causes 56% speed overshoot and hairpin stall
## Summary
The SIH Ackermann rover airframe (`10045_sihsim_rover_ackermann`) ships with default parameters that produce poor control behavior in two areas:
1. **Speed overshoot (56%):** The feedforward term `RO_MAX_THR_SPEED=3.2` commands near-full throttle (94%) for a 3.0 m/s setpoint, but the SIH plant can only sustain ~2.6 m/s at full throttle (F_thrust=400*thr vs F_drag=50*v^2). The P and I gains (0.001) are effectively zero, so there's no closed-loop correction.
2. **Hairpin heading stall:** During sharp turns, `RO_SPEED_RED` slows the rover, which reduces kinematic yaw slew rate at low speed, which prevents the rover from turning fast enough, which keeps heading error high, which keeps speed reduced. The yaw accel/decel slew limiters make this worse by artificially capping the yaw rate command.