Giter Site home page Giter Site logo

xmastree2020's People

Contributors

christopherpaul avatar cnkeats avatar danielkwalsh avatar diggsey avatar godzil avatar loganpress avatar neuneinser avatar oliverdunk avatar quantumjim avatar rmeertens avatar simonrovder avatar tealnoise avatar tirine 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

xmastree2020's Issues

can't install neopixel

Following the instructions at https://learn.adafruit.com/neopixels-on-raspberry-pi/python-usage on how to install the
neopixel library, I get this:

Collecting sysv-ipc (from Adafruit-Blinka->adafruit-circuitpython-neopixel)
  Using cached https://files.pythonhosted.org/packages/0c/d7/5d2f861155e9749f981e6c58f2a482d3ab458bf8c35ae24d4b4d5899ebf9/sysv_ipc-1.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-p029qfz7/sysv-ipc/setup.py", line 11, in <module>
        import prober
      File "/tmp/pip-build-p029qfz7/sysv-ipc/prober.py", line 137
        d["SYSV_IPC_VERSION"] = f'"{version}"'
                                             ^
    SyntaxError: invalid syntax

I checked that I have python3 installed.

The second command doesn't work either:

pi@kano4:~/xmastree2020-main $ sudo python3 -m pip install --force-reinstall adafruit-blinka
Collecting adafruit-blinka
  Using cached https://www.piwheels.org/simple/adafruit-blinka/Adafruit_Blinka-5.13.1-py3-none-any.whl
Collecting sysv-ipc (from adafruit-blinka)
  Using cached https://files.pythonhosted.org/packages/0c/d7/5d2f861155e9749f981e6c58f2a482d3ab458bf8c35ae24d4b4d5899ebf9/sysv_ipc-1.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-5yeeu738/sysv-ipc/setup.py", line 11, in <module>
        import prober
      File "/tmp/pip-build-5yeeu738/sysv-ipc/prober.py", line 137
        d["SYSV_IPC_VERSION"] = f'"{version}"'
                                             ^
    SyntaxError: invalid syntax

Ignoring the error and trying to run anyway didn't work...

pi@kano4:~/xmastree2020-main $ python3 xmaslights-spin.py
Traceback (most recent call last):
  File "xmaslights-spin.py", line 144, in <module>
    xmaslight()
  File "xmaslights-spin.py", line 9, in xmaslight
    import neopixel
ImportError: No module named 'neopixel'
pi@kano4:~/xmastree2020-main $ python xmaslights-spin.py
Traceback (most recent call last):
  File "xmaslights-spin.py", line 144, in <module>
    xmaslight()
  File "xmaslights-spin.py", line 43, in xmaslight
    pixels = neopixel.NeoPixel(board.D18, PIXEL_COUNT, auto_write=False)
AttributeError: 'module' object has no attribute 'NeoPixel'

Any suggestions what to do next? (btw python newbie, so can I ask you to spell it out and not assume I know much about how python works)

thanks

Graham

Code not functional

Some mathematicians purists could argue that the code in not functional!

There are many animations that can (and should) be expressed as a function of 4d space+time.
Thus colors of pixels are just a samples of this function at the LED coordinate t the time of the animation c_i = f(X_i).

How to map the LEDs

So in the video you say there is much better ways to track the LEDs. Fun Fact, there is not. is there any way we can grab a copy of your tracking code and a list of dependency's. Not after a full tutorial just enough that I can stumble uphill instead of downhill.

P.S. Love your work.

use gphoto for calibration

gphoto is a great CLI tool for controlling DSLRs. It currently has support for around 2700 models according to their website.

This could be used for the first calibration/initialisation instead of the webcam potentially getting better results because:

  • higher resolution
  • fixed on a trypod
  • clearer image by setting aperture, speed and ISO manually

I wated to implement this in the holidays but there was too much stuff regarding university.
I might have a look another time but thought I might share this idea

EDIT: sadly it seems like the part calculating the coordinates and exporting them to the coordinates.txt is not in this repo :(

Lights' mapping

Matt,

Did you post the code to map a tree to the coordinates?

Sergey

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.