I wanted to post a reply to this previous topic, but apparently it has been closed: https://gamedev.net/forums/topic/717248-angelscript-suspend-vs-abort
Anyway, the pick-and-place controller mentioned there is finally in a state to show the world, and I made a horrendously long video explaining all the details.
The first mention of AngelScript shows up at 1:04:06. If you want to see the end result of what the machine does, go to 2:26:57. Obviously it's still a work in progress, no actual PCBs have been assembled yet 🙂
AngelScript is used to organize high-level job workflow, and also for vision processing of framebuffer streams coming from multiple webcams at 30fps. There are bindings for camera control (exposure, focus etc), accessing and setting machine I/O, reading and writing to serial ports, SQLite database access, rendering onto camera views, and a variety of computer vision functions.
Individual movements are specified in a separate low-level command format similar to g-code, but the script can make substitutions into the commands. The low-level commands are handed over to the server where they can be executed in realtime (as in RTOS). This is somewhat similar to writing shaders for a GPU instead of having the CPU issuing every little command.
Anyway, I really enjoyed using AngelScript for this and just thought you would like to see where it is being used. I wonder if there are any other projects out there using AngelScript to control physical machinery….