Advertisement

ScriptPNP uses AngelScript

Started by February 02, 2025 04:29 AM
1 comment, last by WitchLord 1 day, 12 hours ago

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….

Very nice. Congratulations!

It's not the first project I've heard using AngelScript for controlling physical machinery, but it is the first that actually explains how it is used 🙂. I think the first project I heard about using angelscript to control machinery was a vending machine.

When I get more time I will have to sit down and watch the entire video. I've only watched 5 minutes so far, but I got quite intrigued to see more of this.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement