theAgingApprentice / HexaFloorRide

Arduino based six legged robot project
MIT License
0 stars 0 forks source link

new MQTT command for immediate but queued macro execution #229

Open nerdoug opened 6 months ago

nerdoug commented 6 months ago

Need MQTT commands to support immediate execution of pre-defined macros, as compared to executing them from a downloaded MQTT script. This would be similar to the way that the Quick Go Home (QGH) command is executed at the time that command is downloaded, not when the downloaded script runs. Since these "immediate" commands may come in faster that the robot can move to execute them, and since we can't stall or we'll miss following dowloaded commands, we need to queue immediate commans for execution.

Need to consider case where a script is running when an immediate command is received.