Presenters

Source

From Passion Project to Open-Source Golf Tech: Meet OpenFlight! ๐ŸŒ๏ธโ€โ™‚๏ธโœจ

Hey there, tech enthusiasts and golf aficionados! Coleman, a Staff Engineer at Grafana, recently shared his incredible “Science Fair Project,” and it’s a game-changer for golfers looking to up their game without breaking the bank. Get ready to dive into the world of launch monitors and how an open-source approach is shaking things up! ๐Ÿš€

The Golfer’s Dilemma: Expensive Gadgets & Subpar Software ๐Ÿ’ธ๐Ÿ“‰

Coleman, a lifelong golfer, understands the dedication it takes to improve. This often involves drawing lines on swing videos, frantic FaceTime calls with coaches, and, crucially, using gadgets to analyze performance. The star gadget? A launch monitor. These devices are vital for fitting clubs, understanding swing metrics, and analyzing ball flight.

However, the current launch monitor market presents a significant hurdle:

  • High-End Models: Expect to shell out a hefty $30,000 for top-tier accuracy. ๐Ÿ˜ฑ
  • Budget Options: Cheaper models often struggle with reliability, sometimes “hallucinating” or inaccurately estimating data. ๐Ÿคฅ
  • Mid-Range Models: These often come with a frustrating subscription fee just to use the device itself. ๐Ÿ˜ 
  • Universal Issue: Across the board, the software is often described as subpar. ๐Ÿ˜ฉ

This frustrating landscape led Coleman, an engineer with a Claude subscription, to ask: Could I build my own?

Enter OpenFlight: An Open-Source Revolution in Golf ๐ŸŒ๐Ÿ’ก

And so, OpenFlight was born! Coleman started from scratch, admitting he knew nothing about hardware or radar technology. He documented his entire journey โ€“ the successes, the failures, and the learning process โ€“ on social media. To his surprise, the project resonated deeply with people! He received podcast invitations, Q&A opportunities with golf news sites, and even significant financial support from TikTok.

OpenFlight is an entirely open-source launch monitor, a concept that’s quite novel and exciting for the golf community. The project has gained significant traction:

  • GitHub Stars: It boasts over 300 stars, nearing 400! โญ
  • Global Contributors: Contributors hail from all over the world, a testament to its collaborative spirit. ๐ŸŒ
  • Social Media Growth: Coleman has amassed around 30,000 followers across various platforms. ๐Ÿ“ˆ

This unexpected journey has been incredibly rewarding!

How Launch Monitors Work: A Quick Primer ๐Ÿ“ก๐Ÿ› ๏ธ

Coleman breaks down the two primary types of launch monitors:

  1. Radar-Based: These track the ball’s flight for a longer duration, relying on signal processing and beam-forming. While the exact mechanics of beam-forming are still a learning curve, its power is undeniable.
  2. Camera-Based: These use a high-speed camera to capture a few frames during impact and then estimate the rest of the ball’s flight.

OpenFlight’s Radar Approach ๐Ÿฆพ

OpenFlight embraces the radar approach, powered by a Raspberry Pi with all its code written in Python. It ingeniously utilizes three radars:

  • One large Doppler radar on the right.
  • Two FMCW (Frequency-Modulated Continuous Wave) radars on the left.

Coleman experimented with cameras but found them insufficient due to the computational power required and the limited view from the radar’s position.

Understanding the Radars ๐Ÿ“ป

  • Doppler Radar: This technology relies on the Doppler shift โ€“ the change in sound frequency as a police car passes. It uses continuous radio waves. When these waves bounce off an object and return, the frequency difference reveals the object’s speed. While Doppler doesn’t inherently know direction, it accurately measures speed. It features one transmitter and one receiver. A fascinating discovery during this project was that Doppler radar can also measure spin by detecting the wobble or vibration of a spinning object! ๐Ÿคฏ
  • FMCW Radar: The key difference here is the setup: one transmitter and two receivers. The physical placement of these two receivers provides enough data to create a vector to the golf ball, thus determining its direction and trajectory. ๐ŸŽฏ

Integrating with Grafana: Visualizing Your Game ๐Ÿ“Š๐Ÿ’ป

The magic happens after you hit a shot. All the radar data is crunched, and the metrics are compiled into a JSON log. This data is then shipped to Loki, also running on the Raspberry Pi.

The logs are transformed into a visual representation of the ball’s flight. Coleman developed an app plugin for Grafana that pulls data from Loki every few seconds. Coupled with a Claude-powered physics engine, this creates a realistic simulator right in your backyard! ๐Ÿž๏ธ

Coleman shared a video of the simulator in action, as live demos were unfortunately not permitted. If you missed the chance to try it out, he encourages everyone to come see him tomorrow!

This project is a fantastic example of how open-source innovation and accessible technology can empower individuals and communities, transforming complex challenges into exciting opportunities. Great job, Coleman! ๐ŸŽ‰

Appendix