First working version of our Galileo mode for walk & bike
publié le , mis à jour⚙️ Ceci est une proposition de changement de code.
Rendez-vous sur sa page Coderberg pour l'osculter.
- dev mode : click on map to update the position
- reimplement MapLibre's too constrained GeolocateControl to useOurOwnWatchPosition.ts
- working version of useFirstPersonCamera.ts, splitting the itinerary in almost-continuous segments where we make the position stick... or recalculate route
- new "voice hint" instructions dialog at the top
- new speed indicator
- barebones UI for galileo mode that strips most of the itinerary's content
- preliminary search for voice guidance through new tiny TTS libraries (English for 6 Mb seems possible !)
First test
Great, I was able to use the app for my bike trip of the day :) :)
But :
- speed and itinerary info doesn't get update
- I'm not sure initial geoloc works if not triggered in non-galileo mode first
- animate the marker for a smooth ride
- change the padding, the arrow shouldn't be at the center
- share a unique top geolocation state
- the final "Vous êtes arrivé" misses "in n meters"
v0.1 published
- Clear disclaimer : beta banner + décharge
- final real in-street test for a v0.1 release
laem
Fidèle à l'esprit agile du projet, je merge car cette fonctionnalité très expérimentale est cantonnée à un déclenchement par bouton.