GOTO
Description
GOTO is a movement command that sends the robot to a specified location on the navigation map. If the specified "place" is located on a different floor, the robot will search other floors' maps and go there. If the place does not yet exist on the navigation map, the robot will be unable to move.
Syntax
GOTO "place"
Arguments
place: location that uses the Nav system to pinpoint a desination for the robot
Example
Input
DISPLAY_CONFIRM "Should I make a delivery?", "Yes", -1
DISPLAY "Okay, here I go!"
SLEEP 2
GOTO "Delivery Location"
Output
Screen will display "Should I make a delivery?". This screen will not timeout. Once the user presses the "Yes" confirmation button, it will then display "Okay, here I go!" and pause for two seconds. Finally, it will move to the Delivery Location if able.
Resources
Explore the SaviScript GitHub repository for all published instances of this command.