Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Bot on path on done #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Send Bot on path on done #83

wants to merge 1 commit into from

Conversation

Saagar3690
Copy link
Contributor

Sends the bot on its path after pressing the done button. As of now, the first marker in path is used for the call toNode and the rest of the markers are placed in a queue that is stored by calling the replaceQueue endpoint. The idea behind this was it only needs to store the path to its current destination and the updateLocation endpoint which will be called to constantly update the location of the bot determines that the bot has reached its next destination, it will check the queue and if there is another marker to go to will find a path to that destination.

@Saagar3690
Copy link
Contributor Author

Here is what it looks like right now. It goes back to the map screen afterwards. I think it can be made clearer that the bot is being sent to the first node on its path after hitting done, like having an alert pop up or instead of loading... we have sending bot...
https://user-images.githubusercontent.com/30224372/118735212-ccc07400-b7f4-11eb-9673-560aee74160f.mov

@Saagar3690 Saagar3690 marked this pull request as ready for review May 18, 2021 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants