← All posts

Fixing the Pin Drop: Device Coordinates vs. Transmitter Coordinates

A subtle but critical bug surfaced during post-drive analysis. The map pins were appearing at the device's location — where I was when I received the signal — rather than at the geolocation engine's predicted transmitter location. The pin drop function was using leftover demo logic that generated random offsets from the device's GPS position, completely ignoring the actual geolocation coordinates being computed by the server.

The fix was straightforward: when the server provides predicted transmitter coordinates, place the pin there instead of at the device. When it doesn't (fallback mode), use the original offset behavior. I also added separate logging of device coordinates versus predicted transmitter coordinates, with computed distance between them, so I can measure geolocation accuracy directly from the app's burst log.

I simultaneously built out the Android Auto integration, allowing the platform to display on a vehicle's head unit during driving. The implementation uses a split-screen display with color-coded pins and a tappable detail view showing talkgroup identity, signal strength, and confidence for each detection. Getting it running on actual vehicle hardware required working through Google Play's app validation process for automotive templates.

← Terrain Awareness and the First Accurate...The Investor Demo Takes Shape... →