Reopen map on user's last known location#2261
Reopen map on user's last known location#2261ArturoManzoli merged 4 commits intobluerobotics:masterfrom
Conversation
463c3fa to
6ee40f1
Compare
ES-Alexander
left a comment
There was a problem hiding this comment.
This seems to work fine in both browser and electron - nice!
That said, it seems tied to the interface, rather than actually being based on the "user"'s details. Not sure if we want this synced to the vehicle (through the user), or leave it as each frontend stores the info it needs for this...
Curious on @rafaellehmkuhl's thoughts.
This definitely isn't critical enough to hold up stable, but if it's approved in time it's also maybe ok to include, as something akin to a bug fix?
Also not completely sure, but I think it could make sense to tie it to the user. It's where they were. What I'm asking myself right now is if this new behavior deals well with the current default "follow vehicle" behavior. I tried to use the PR but if the vehicle is connected it just goes there. @ArturoManzoli @ES-Alexander any idea what should be the default behavior on each case? |
I think following the vehicle would be the priority whenever the mode is turned on. |
Maybe this should be a preference indeed. Go automatically to the vehicle position, home position or last map location. Sounds good. @ES-Alexander what do you think? |
Agreed - if the user has asked to follow the vehicle then we should do that until they ask to stop (ideally even across sessions) 👍 That said, I think it should be tied to a profile in a user, not the user at the top level, since they may have different preferences for how they operate different vehicle types. As an edge case, I am curious what happens when follow vehicle mode is remaining on and the vehicle has no position (e.g. for a DVL ROV that hasn't had its origin and/or starting position set yet, or a boat that is turned on inside without a GPS lock). In those cases I think the behaviour we want is to reopen where they last were, so this PR could still apply even when follow mode is on. |
|
@ArturoManzoli @ES-Alexander I believe we should discuss and agree on a solution to move forward with that one. |
6ee40f1 to
d8df65f
Compare
|
|
||
| src/libs/mavlink-json |
There was a problem hiding this comment.
This should not be ignored.
There was a problem hiding this comment.
all fixed. Ready to review
4764854 to
39a12fc
Compare
39a12fc to
d016f45
Compare
rafaellehmkuhl
left a comment
There was a problem hiding this comment.
Only minor things and we are ready to merge.
Signed-off-by: Arturo Manzoli <arturomanzoli@gmail.com>
d016f45 to
e7efcbd
Compare
All issues addressed! |
Signed-off-by: Arturo Manzoli <arturomanzoli@gmail.com>
Signed-off-by: Arturo Manzoli <arturomanzoli@gmail.com>
Signed-off-by: Arturo Manzoli <arturomanzoli@gmail.com>
e7efcbd to
debd266
Compare
Closes #2260