opensailing / nautic_net_web

Phoenix 1.7 web server for NauticNet real-time tracker and analysis
2 stars 0 forks source link

Boats with multiple GPS receivers are duplicated #23

Open schrockwell opened 1 year ago

schrockwell commented 1 year ago
image

The boat Static has two Signals that provide position data, and we're showing both of them. This behavior is currently buggy because we assumed each boat only has 1 GPS sensor. We need to decide how to handle this:

schrockwell commented 1 year ago

Per discussion with @CaptChrisD, this is a very common situation. We should have a way to select a primary source of GPS data for a given boat.

schrockwell commented 1 year ago

Waiting on #32 to build out the UI for selecting it. This ticket should be about using the selected source correctly on the map display.

bcardarella commented 1 year ago

And we're seeing some differences on the drawing:

https://nautic-net-web-dev.fly.dev/?boats[]=0fe016d2-5d1e-437a-9993-bf4113349095&date=2023-07-30&from=11%3A47%3A46&playback=15%3A56%3A53&to=17%3A12%3A44

bcardarella commented 1 year ago
Screenshot 2023-08-01 at 5 27 05 PM
bcardarella commented 1 year ago

one of the two position sensors is giving very low resolution data, It looks like it is getting positions every few minutes, we can simply probably set the default position sensor for a given vessel

bcardarella commented 1 year ago

I suspect this will require a boat page so owners can do this