Uploaded February 2025 | Updated November 2026, 6 days ago
github.com/iforce2d/scriptpnp
github.com/iforce2d/weenyPRU
github.com/iforce2d/linuxcnc-gcode-server
github.com/iforce2d/scv
openpnp.org
Jerk limited motion info: github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained
Constant jerk trajectory generation: https://www.et.byu.edu/~ered/ME537/Notes/Ch5.pdf
Realtime Linux programming: shuhaowu.com/blogseries.html
Online b-spline tool: nurbscalculator.in
Continuity of splines: youtube.com/watch?v=jvPPXbo87ds
Clone HX717 project: oshwlab.com/iforce2d/hx717-breakout
Non-flyover vision: youtube.com/watch?v=R-ePq9nfR2o
Flyover vision: youtube.com/watch?v=TjYCh6NysSU
DIY(?) flyover camera: youtube.com/watch?v=-Ovp5axbgkE
Resources used:
github.com/ocornut/imgui
github.com/epezent/implot
sqlite.org
github.com/libuvc/libuvc
github.com/assimp/assimp
zeromq.org
angelcode.com/angelscript
github.com/zxing-cpp/zxing-cpp
github.com/mlabbe/nativefiledialog
sigrok.org/wiki/Libserialport
Also, a lot of inspiration (and some code) for the weenyPRU was taken from the Remora project for LinuxCNC:
github.com/scottalford75/Remora
0:00 Intro
1:39 Existing options
2:54 OpenPNP with LinuxCNC
3:54 Corner blending
6:02 Jerk limited motion
7:02 PNP requirements vs printer/router controllers
9:52 Fly-over camera considerations
11:54 Realtime programming with Linux
13:02 B-splines looked tempting
16:09 scv trajectory generator library
26:55 Jerk limited moving liquid test
27:36 ScriptPNP architecture overview
31:40 Supported hardware
35:11 Task division (server/client)
38:42 Machine setup lookover
41:20 Server startup, client panels overview
48:08 Homing
48:52 Command list basics
1:04:06 Scripting intro
1:05:54 Scripting basics (function key + custom buttons)
1:07:55 Tweaks
1:09:44 Invoking command lists from script
1:10:02 Substitutions in command lists
1:13:57 Workspace layouts
1:15:49 setMemoryNumber, setDBNumber
1:17:20 SQLite database, external viewer
1:20:07 Table views (internal view)
1:21:25 Overrides
1:26:27 Interaction with iomixer (digital out)
1:27:23 Serial port interaction
1:33:37 Probing (digital, loadcell, vacuum)
1:39:21 Vision basics: camera parameters, grabFrame
1:41:46 Vision: per-frame scripts
1:43:13 Vision: drawing in frame
1:44:32 Vision: blur
1:45:34 Vision: HSV threshold
1:50:29 Vision: finding blobs
1:53:10 Vision: minimum area rectangle
1:54:51 Vision: QR codes
1:55:53 Vision: using the results
2:00:21 Finding fiducials
2:08:37 Affine transform
2:11:57 Importing BOM+PNP from EasyEDA
2:15:32 Using database to visit part locations
2:21:20 Pretending job
2:24:49 Previewing a job
2:26:57 Actually picking and placing
2:31:07 Rough nozzle calibration
2:33:04 Bottom cam view of parts
2:34:36 Acknowledgments
2:36:09 Code repo and e-begging
github.com/iforce2d/scriptpnp
github.com/iforce2d/weenyPRU
github.com/iforce2d/linuxcnc-gcode-server
github.com/iforce2d/scv
openpnp.org
Jerk limited motion info: github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained
Constant jerk trajectory generation: https://www.et.byu.edu/~ered/ME537/Notes/Ch5.pdf
Realtime Linux programming: shuhaowu.com/blogseries.html
Online b-spline tool: nurbscalculator.in
Continuity of splines: youtube.com/watch?v=jvPPXbo87ds
Clone HX717 project: oshwlab.com/iforce2d/hx717-breakout
Non-flyover vision: youtube.com/watch?v=R-ePq9nfR2o
Flyover vision: youtube.com/watch?v=TjYCh6NysSU
DIY(?) flyover camera: youtube.com/watch?v=-Ovp5axbgkE
Resources used:
github.com/ocornut/imgui
github.com/epezent/implot
sqlite.org
github.com/libuvc/libuvc
github.com/assimp/assimp
zeromq.org
angelcode.com/angelscript
github.com/zxing-cpp/zxing-cpp
github.com/mlabbe/nativefiledialog
sigrok.org/wiki/Libserialport
Also, a lot of inspiration (and some code) for the weenyPRU was taken from the Remora project for LinuxCNC:
github.com/scottalford75/Remora
0:00 Intro
1:39 Existing options
2:54 OpenPNP with LinuxCNC
3:54 Corner blending
6:02 Jerk limited motion
7:02 PNP requirements vs printer/router controllers
9:52 Fly-over camera considerations
11:54 Realtime programming with Linux
13:02 B-splines looked tempting
16:09 scv trajectory generator library
26:55 Jerk limited moving liquid test
27:36 ScriptPNP architecture overview
31:40 Supported hardware
35:11 Task division (server/client)
38:42 Machine setup lookover
41:20 Server startup, client panels overview
48:08 Homing
48:52 Command list basics
1:04:06 Scripting intro
1:05:54 Scripting basics (function key + custom buttons)
1:07:55 Tweaks
1:09:44 Invoking command lists from script
1:10:02 Substitutions in command lists
1:13:57 Workspace layouts
1:15:49 setMemoryNumber, setDBNumber
1:17:20 SQLite database, external viewer
1:20:07 Table views (internal view)
1:21:25 Overrides
1:26:27 Interaction with iomixer (digital out)
1:27:23 Serial port interaction
1:33:37 Probing (digital, loadcell, vacuum)
1:39:21 Vision basics: camera parameters, grabFrame
1:41:46 Vision: per-frame scripts
1:43:13 Vision: drawing in frame
1:44:32 Vision: blur
1:45:34 Vision: HSV threshold
1:50:29 Vision: finding blobs
1:53:10 Vision: minimum area rectangle
1:54:51 Vision: QR codes
1:55:53 Vision: using the results
2:00:21 Finding fiducials
2:08:37 Affine transform
2:11:57 Importing BOM+PNP from EasyEDA
2:15:32 Using database to visit part locations
2:21:20 Pretending job
2:24:49 Previewing a job
2:26:57 Actually picking and placing
2:31:07 Rough nozzle calibration
2:33:04 Bottom cam view of parts
2:34:36 Acknowledgments
2:36:09 Code repo and e-begging










