stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
184 stars 24 forks source link

More realistic GPS simulation with consistent lateral offset #323

Closed engali94 closed 4 weeks ago

engali94 commented 1 month ago

More realistic GPS simulation with consistent lateral offset

Current Behavior

The current simulated location provider follows route coordinates exactly, which doesn't reflect real-world GPS behavior. This makes it difficult to properly test route-snapping and other location-based features under realistic conditions.

Proposed Changes

Add support for simulated GPS inaccuracy by implementing consistent lateral offset from the route line.

Closes #322.