GithubHelp home page GithubHelp logo

retaliation's People

Contributors

codedance avatar href avatar kindasimple avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

retaliation's Issues

It doesn't support live ammo

Not being able to utilize live ammo doesn't generate the tension levels necessary in an organization to enforce the following of better development practices and shipping of quality software. The correct utilization of lethal force is the only way to instill fear and discipline, therefore achieving optimal results.

I suggest extending the API to control the Mk 49 GMLS, which is a proven system in service for the past decade. It supports connection via bluetooth, and also via a proprietary iPhone app once you authorize it with your Facebook account.

http://en.wikipedia.org/wiki/File:RIM-116_Rolling_Airframe_Missile_Launcher_3.jpg

(PS: Just trolling! Awesome idea BTW :) )

Add code to turn on/off the LED

Suggested from Mark T. Add code to turn on/off the LED. Would be good edition to the command set. i.e. warn before you're shot or powered up when it's active.

Code suggestion below. Will do this soon.

def led(cmd):

DEVICE.ctrl_transfer(0x21, 0x09, 0, 0, [0x03, cmd, 0x00,0x00,0x00,0x00,0x00,0x00])

โ€ฆ

elif command == "led":

    if value == 0:

        led(0x00)

    else:

        led(0x01)

Raspberry PI 2, fire does not work

Raspberry PI 2, fire does not work
all other command work fine, but fire does not.
In windows works fine so I know the hardware is ok...

when I run

python2.7 retaliation.py fire 1

I can hear a small servo sound for a micro second... but that's it
again, missile launcher is fine in Windows.

any help is appreciated...

regards

Sean

USB core error import on mac

Hi,
Maybe this is because i'm new to Python but I can't find a solution to this error I get when I try to run the script.

Traceback (most recent call last):
File "retaliation.py", line 83, in
import usb.core
ImportError: No module named usb.core

I have installed the libusb with homebrew on my mac and I have also tried to install python again with homebrew to make new paths.

Missile Device Not Found

So I was trying to get this set up, and I was looking at the setup_usb code, the second find command's idVendor and idProduct match mine, (checked in Devices and Printers, right clicked, Hardware Ids) they match, the only difference is one has &REV_0001, but the other is 'USB/VID_0A81&PID_0701' so I don't know why its not being seen... Any help??

Wont "Fire"

I got it working in Windows7, with a few minor alterations (updating for Python 3.4), and on my Raspberry Pi (wheezy). Everything works on both, but the Fire command. It worked in Windows twice, then stopped, and hasn't worked in Raspbian at all.
Any suggestions?

add further informations for installing on windows

Nice project, i like! But you should add a little more informations for installing it on a new windows 7/8 machine. I worked on this problems:

  • its important to install exactly version 2.6, especially to install PyUsb
  • For PyUSB installer its necessary to install the 32bit version of python 2.6! otherwise, installation doesn't work.
  • Python and PyUSB installer need to run as Admin. Python-installer at least returns an error, PyUSB installer just freeze -.-

URLs to the installing packaged would be nice, i will add them soon.

Despite of my issues, thx for your work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.