Open-source engineering
Software whose implementation, usage, limits, and contribution path are publicly inspectable.
Projects
- 360° spherical panorama stitchingA CPU-only Python and OpenCV pipeline that turns handheld phone video or stills into an equirectangular panorama and generates a Three.js viewer.
- easyPIDA hardware-agnostic Arduino PID controller library with independent instances, timing controls, anti-windup, derivative filtering, state introspection, and an optional relay autotuner.
- IMU test bench: live 3D view, noise measurement and calibrationA real-time workbench for inertial sensors. Connect an Inertial Sense IMX, a PX4 or ArduPilot flight controller, any microcontroller IMU or a ROS 2 topic, and within seconds the device is on screen as a live 3D model, with its raw signals at full rate, its health decoded bit by bit, and its magnetometer calibration laid bare. Then it measures what an integration needs: vibration spectra that expose motor tones and frame resonances, an Allan-deviation Noise Lab that writes the noise model Kalibr asks for, a magnetometer ellipsoid fit it applies to the stream, and a camera view that projects the IMU's horizon into the image and stabilises it by rotation alone. Sensors that only report gyro and accelerometer get attitude from a built-in fusion filter; every session can be recorded, replayed, or republished as standard ROS 2 topics. Developed against a real Inertial Sense RUG-3-IMX-5 for camera–IMU integration on an NVIDIA Jetson, and open source.
- Fine crack tracing toolkitAn installable Python package and CLI that turns a crack segmentation mask into measured centrelines: each crack’s length, its width at every point, its branches, and the breaks the mask left in it.
- Upstream fixes to Betaflight, PX4, and OpenFrontFixes and one feature contributed to three upstream open-source projects: a Redpine CC2500 debug-mode fix and a W25M flash read fix in Betaflight, an EKF2 range-height reset fix in PX4, and a HUD feature and a HUD fix in OpenFront.
Writing
- Building a 360° panorama stitcher from a phone sweepA phone video, a pure-rotation camera model, and a stubborn question: how much of a 360° reconstruction pipeline can be made explicit instead of hidden behind a stitching API?
- Designing a PID library for real embedded controlThe PID equation is short. A controller that behaves predictably on an Arduino needs much more than three gains.
- Turning segmented cracks into measurable pathsA segmentation mask says which pixels belong to a crack. Inspection needs the next layer: a centreline, a length, and a width you can compare. Here is how I get there, and how I check it.
- What small upstream fixes teach about firmwareFive pull requests to Betaflight, PX4, and OpenFront, and the habit they share: make the mechanism explicit before touching the code.