Skip to content

About

iPhone walking navigation with LiDAR obstacle sensing, airpods spatial audio guiding , and haptics. Maps routes plus real-time lane guidance for blind pedestrians.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

EchoPath

EchoPath is an iPhone-first, accessibility-focused walking navigation prototype. It combines Apple Maps walking routes with forward environmental sensing, short audio cues, speech, and haptics.

EchoPath is supplemental assistive technology. It does not certify that a path is clear or safe and must not replace a cane, guide dog, orientation-and-mobility training, or user judgment.

What is implemented

  • Native SwiftUI application with a Swiss International visual system
  • MapKit destination completion, place resolution, walking routes, and visual route preview
  • Core Location tracking, route-step instructions, and arrival detection
  • ARKit camera sensing with LiDAR scene depth on supported iPhones
  • Vision rectangle fallback on iPhones without scene depth
  • Three-lane left/center/right obstacle model
  • One-cue-per-second avoidance guidance with distinct HRTF tone and haptic patterns for straight, left, right, and stop
  • LiDAR confidence filtering, floor-plane rejection, robust distance percentiles, and ground-to-head hazard prioritization
  • Probabilistic indoor/outdoor status with route-to-exit or last-outdoor-point guidance when available
  • Persistent cue volume, intensity, speech, and haptic accessibility preferences
  • Local decision engine where obstacle and sensor-failure warnings preempt route guidance
  • AVSpeechSynthesizer fallback, HRTF-positioned warning tones, and ElevenLabs voice through the Worker
  • Core Haptics patterns and a BLE command adapter for optional hardware
  • Motion/pedometer tracking and a confirmation-only possible-fall prompt
  • OpenAI supplemental reasoning through a Cloudflare Worker
  • Sentry observability through a local/HTTP envelope reporter. The Cocoa SDK is not linked because its Swift 6.1 package manifest fails on this Xcode 26 toolchain.
  • Explicit Huawei OMNI and QNX adapter boundaries (intentionally unavailable in this build)

Requirements

  • Xcode 26.6 or later
  • iOS 26.0 or later
  • A physical iPhone for camera, LiDAR, motion, Bluetooth, audio, and haptic validation
  • xcodegen (brew install xcodegen)
  • Node.js 20+ for the Worker

The user-requested iOS 27 target cannot be built by the currently installed iOS 26.5 SDK. The project uses iOS 26.0 as the newest verifiable deployment baseline and is structured for a later target bump.

Run the iOS app

xcodegen generate
open EchoPath.xcodeproj
  1. Select a development team and physical iPhone.
  2. Add a Sentry DSN to ECHOPATH_SENTRY_DSN in the target Info settings.
  3. Deploy the Worker and replace ECHOPATH_API_BASE_URL with its HTTPS URL.
  4. Grant location, camera, and motion permissions.

Debug builds expose lane simulation controls during active navigation so the warning hierarchy can be tested in the simulator. Optional OpenAI image analysis is off by default and requires explicit in-app opt-in; low-resolution obstacle snapshots are sent only after an obstacle event.

Run the Worker

See worker/README.md. OpenAI and ElevenLabs keys live only in Cloudflare secrets. They must never be placed in the iOS app or committed.

Architecture

MapKit + CoreLocation ─┐
                      ├─> NavigationSessionViewModel ─> DecisionEngine
ARKit/Vision/LiDAR ───┘                               ├─> speech / tones
                                                      ├─> iPhone haptics
Cloudflare Worker <─ OpenAI / ElevenLabs               └─> BLE command sink

Safety-relevant obstacle warnings are generated locally. Cloud reasoning is supplemental and does not sit in the immediate warning path.

Known prototype limits

  • MapKit exposes routes and route steps, not a full first-party spoken turn-by-turn navigation SDK.
  • The camera fallback detects prominent rectangular obstructions; it is not a production obstacle classifier.
  • LiDAR thresholds and camera orientation need calibration through structured field tests.
  • “Clear” means no current qualifying observation, never a guarantee of safety.
  • Fall detection only displays a confirmation prompt. It does not contact emergency services.
  • Indoor step/yaw readings are surfaced as an experimental foundation; there is no indoor map or reliable absolute position source yet.
  • AirPods-specific head-tracking needs on-device tuning. The current AVAudioEnvironmentNode engine provides HRTF-positioned left/center/right cues.
  • Huawei OMNI needs an exact product/API and credentials. QNX needs a separate embedded target; neither can run as the iOS reliability layer.

Validation before field use

Run unit tests, then test permissions and all fail-visible sensor states on a physical device. Any human walking evaluation should begin in a controlled environment with a sighted spotter and established mobility aids.

About

iPhone walking navigation with LiDAR obstacle sensing, airpods spatial audio guiding , and haptics. Maps routes plus real-time lane guidance for blind pedestrians.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages