03-06-2025, 08:50 PM
(This post was last modified: 03-06-2025, 09:23 PM by stevantosic.)
Following line of simplification we can imagine a code snippet (for better understanding of actions):
// SendWebRequest(urlSet + "&rotate=90"); waitTillReady();
SendWebRequestAndWaitActionEnd(urlSet + "&rotate=90");
// SendWebRequest(urlSet + "&forward=4"); waitTillReady();
SendWebRequestAndWaitActionEnd(urlSet + "&forward=4");
Just a thoughts. User can write a procedure or function to encapsulate a chunk of actions. Or even:
Rotate(90);
Forward(4);
Looks like turtle.
// SendWebRequest(urlSet + "&rotate=90"); waitTillReady();
SendWebRequestAndWaitActionEnd(urlSet + "&rotate=90");
// SendWebRequest(urlSet + "&forward=4"); waitTillReady();
SendWebRequestAndWaitActionEnd(urlSet + "&forward=4");
Just a thoughts. User can write a procedure or function to encapsulate a chunk of actions. Or even:
Rotate(90);
Forward(4);
Looks like turtle.