great video first showing the workflow on how your gonna do the different tests which is very nice just one question tho what is supposed to happen when a other error come out of the timeout error will the robot continue or would the error just show up were the user wont know what has happend great vid overall tho keep on going man
Glad you enjoyed it! If another error other than a timeout occurs, the state machine would believe that the drink never got made, but wouldn't handle it by setting the robot to broken. Instead, the state machine would immediately fail. The robot would have its status left to WORKING and still wouldn't get used by in future executions. Really, you would want to change the error handling based on error type, which is why it only watches for timeouts - for example, if the error came from failing to send the MQTT message in the first place, then you need to shut down all the robots and figure out why the permissions are broken.