Sentry Gun Test
Loading...
62,818
Loading...
Uploader Comments (jtkthx)
Top Comments
-
it aims for ur face?
-
Life sapping mah sentry!
see all
All Comments (74)
-
@caha11 why not? would it be more effective if it shot you in the foot?
-
Hey man.... what IDE did you use to compile?
-
i dont think he put pellets in the gun
-
love the progect i need help with mine can you help
-
You should've worn a BB proof Vest, that's gotta hurt
-
that is a damm guy doin that you dum dums
-
6:50 i lold so bad at ur shuffle
-
that's awesome!
Loading...
To WEKS87:
Quite possibly, yes.
To baman12:
A motion sensor would tell me "Yes there's motion," or "No there isn't motion," while an optical sensor, i.e. the webcam, allows the software to determine where exactly the motion is.
jtkthx 5 years ago
To reignmack:
It's FAR easier to program target-finding when you've got a stationary background. It'd be a billion times harder, and probably less effective knowing my skill-level to use a moving camera, though a larger field of view is definitely something worth working toward. An array of multiple cameras would most likely be easier and faster to process.
jtkthx 5 years ago
To h252000:
It's actually programmed to slightly overshoot, since there is a bit of a delay between a 12-15 fps camera, Java detecting a target, and then moving the servos (that are carrying a lot of weight for hobby servos).
jtkthx 5 years ago
Interfacing with the webcam was code I found on the web, and the code for talking to the servo controller was supplied by the manufacturer. I wrote the code that finds and decides on a target, and the simple logic of trigger-pulling etc.
jtkthx 5 years ago