soundscape-community / soundscape-web-client

Intelligent navigation on any platform
MIT License
2 stars 2 forks source link

Beacons should fail more gracefully when compass heading is unavailable #19

Closed steinbro closed 1 month ago

steinbro commented 2 months ago

Right now, when you try to start a beacon on a device without orientation (like a laptop), the off-course sound plays continuously and cryptic errors are logged in the console (Uncaught TypeError: PannerNode.setPosition: Argument 1 is not a finite floating-point value.). The user should instead be informed that compass heading information is not available.

steinbro commented 1 month ago

Hmm, I can't figure out how to reproduce this anymore.