← Back to search

Automatic Foam Dart Sentry Turret

saveitforparts 15:50

5,983 views · 278 likes Watch on YouTube ↗

This was an experiment at computer-controlled two-axis aiming. Eventually I'd like to do this with some of my satellite dishes, but for now it's a dart turret!

I based my turret on this project: https://www.youtube.com/watch?v=HoRPWUl_sF8

The original code from 2015 is available here (Note! I had to modify this to work with the 2022 version of the software dependencies): https://github.com/HackerShackOfficial/Tracking-Turret

I made the following modifications:
-Installed Python 3 instead of Python 2.
-Installed OpenCV 4 instead of 3.
-Skipped the whole virtual environment thing, couldn't get it working and didn't seem necessary.

I edited turret.py as follows:
-Changed the print statements in turret.py to use Python3 style parentheses
-Changed "import thread" to import _thread in line 7
-Changed "thread" to "_thread" in line 423
-Removed "lm," from line 158
-Changed print syntax on lines 283 and 284 to have the closing parentheses at the end

You can download my modified turret.py file from my website at https://saveitforparts.wordpress.com/?p=5305



Saveitforparts t-shirts and other merch at https://my-store-b88bcf.creator-spring.com/

Join this channel to get access to perks:
https://www.youtube.com/channel/UCNLRcEn78Vc62C3GkMvBgtA/join

Or support me via Patreon at https://www.patreon.com/saveitforparts

Category (YouTube): Science & Technology

Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.