3 ms·
I always mean to write up my projects but never do. The gist is really, through trial and error I was able to map developer's desks to coordinates and elevation
by manyxcxi 10y ago
I always mean to write up my projects but never do. The gist is really, through trial and error I was able to map developer's desks to coordinates and elevation angles to get to their seat and just made a flat file that had their username, X, Y, and Z values in it.
The main loop was just the standard socket server you'd find in a Ethernet module example and I wrote a Jenkins plugin that would connect on break and send the offending username over the socket.
There were at the time a number of examples showing how to control the USB launcher from Geekwire w/ an Arduino that I pretty much just copied.
- ayuvar 10y agoYou probably could have done some basic artillery calculations. Then again, you might work in one of those weird offices where trying to measure the distance from your desk to theirs is more awkward than repeatedly attempting to shoot your coworkers while you fine-tuned the numbers. Neat project!
- manyxcxi 10y agoActually, having someone sit at their desk while I continued to shoot closer and closer to their face was probably the most fun of the entire project. I tried some basic calculations, but as you could guess with a nerf dart, building HVAC, and all the other things going on it wound up being faster and easier (and again, more fun) just shooting until I was on target a couple of times. After the first few desks it was pretty easy to get close on the first shot because you could generally know that 4ft left or right was about an adjustment value of +/- whatever from the last coordinate you had dialed in.
- soylentcola 10y agoPlus then they can build defense fortifications and start an arms race!
- fapjacks 10y agoPrecisely. I immediately started thinking about Arduino-powered counter-battery fire.