Coder Social home page Coder Social logo

lightdance-rpi's People

Contributors

1owo1 avatar arthurnieh avatar atosystem avatar brian4685380 avatar chenwish avatar fyrichie avatar hjko0530 avatar ining310 avatar jass921026 avatar johnny-liou avatar kenchu123 avatar lin-1214 avatar madmaxieee avatar noidname01 avatar rayray2002 avatar redxouls avatar tom1484 avatar yck1130 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

lightdance-rpi's Issues

Test Receiver in C++

Is your feature request related to a problem? Please describe.
Test Receiver in C++

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Controller parse control.json

Is your feature request related to a problem? Please describe.

Currently, controller cannot parse control.json.

Describe the solution you'd like

Use binary search.

Describe alternatives you've considered

None

Additional context

None

Add formatter and linter scripts for python development

Is your feature request related to a problem? Please describe.
For tidy code and lazy developers.

Describe the solution you'd like
isort for import sort
black for coding style

Describe alternatives you've considered
No

Additional context

Complete current listed RPi manager functions

Is your feature request related to a problem? Please describe.

There are still some TODOs in rpiMgr, finish those.

Describe the solution you'd like

Reference code from last year

Describe alternatives you've considered

None

Additional context

None

Change OF Brightness

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Change MAX_BRIGHTNESS (gamma_correction.cpp)
Change theta in OFrgba2rgbiref (OFrgba_to_rgb.hpp)

Describe alternatives you've considered

None

Additional context

Add sendLight Command

Is your feature request related to a problem? Please describe.
New Methods for Hardware Team Demand

Describe the solution you'd like

Describe alternatives you've considered

Additional context

RPi Setup

Is your feature request related to a problem? Please describe.
RPi Setup

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Auto Start

Is your feature request related to a problem? Please describe.
Auto Start

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Improve the editing performance

Is your feature request related to a problem? Please describe.

It's too slow to wait for the response from the backend server.

We first modify the cache.

If you do something which is wrong, please refresh the web page. Backend will be right.

Describe the solution you'd like

client.cache.modify first, and update again through subscription.

Describe alternatives you've considered

ADD function is a problem. We cannot predict the added ID.

Additional context

Update CLI for hardware update

Is your feature request related to a problem? Please describe.
add directory support at load

  1. All black / All Light (frontend as well)
  2. LED test : channel(int) colorCode(int) alpha(int) / partName(string) colorCode(int) alpha(int)
  3. OF test : channel(int) colorCode(int) alpha(int) / partName(string) colorCode(int) alpha(int)
  4. SetOFChannel(string partName, int channel)
  5. SetLEDChannel(string partName, int channel)
  6. partTraversalTest (frontend as well)

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Wire connection

Is your feature request related to a problem? Please describe.

Wire connection for play.

Describe the solution you'd like

Python

Describe alternatives you've considered

Additional context

LEDPlayer frame less than 2 error

Is your feature request related to a problem? Please describe.

Current led player will cause error due to led frame num less than 2.

Describe the solution you'd like

None

Describe alternatives you've considered

None

Additional context

None

Update requirements.txt

Is your feature request related to a problem? Please describe.
Update requirements.txt

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Enable communication between controller and CLI

Is your feature request related to a problem? Please describe.

Set up zmq channel between controller and CLI, enables them to communicate through tcp.

Describe the solution you'd like

Use zmq.

Describe alternatives you've considered

None

Additional context

None

RPi operations

Is your feature request related to a problem? Please describe.

Finish all the operations used by controller.

Describe the solution you'd like

rpiMgr.h/.cpp

Describe alternatives you've considered

None

Additional context

None

Documentation for CLI

Is your feature request related to a problem? Please describe.
Documentation for CLI

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Modify zmq installation script for RPi

Describe the bug

Remove redundant "sudo" in the script.

To Reproduce

Expected behavior

Run the script without sudos.

Screenshots

None

Additional context

None

Compress controller response to one string

Is your feature request related to a problem? Please describe.

Compress multiple string responses to single string responses.

Describe the solution you'd like

Use "\n".

Describe alternatives you've considered

None

Additional context

None

Add play-load foolproof

Is your feature request related to a problem? Please describe.

In the current controller version, if load while playing, it will cause an error.

Describe the solution you'd like

Block load while playing.

Describe alternatives you've considered

None

Additional context

None

Add methods for CLI

Is your feature request related to a problem? Please describe.
Add more and modify methods.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Add hardware support

Is your feature request related to a problem? Please describe.
Add hardware support

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Debug

Is your feature request related to a problem? Please describe.

Remove all kinds of bug

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Upload led and upload of

Is your feature request related to a problem? Please describe.

Enable client socket to save led and of control file

Describe the solution you'd like

Python

Describe alternatives you've considered

None

Additional context

None

Remove redundant divisor

Is your feature request related to a problem? Please describe.

In of light, alpha is divided by a redundant max num.

Describe the solution you'd like

Remove it.

Describe alternatives you've considered

None

Additional context

None

Add pause in CLI

Describe the bug
No pause command in CLI

To Reproduce

Expected behavior

Screenshots

Additional context

NTP client

Is your feature request related to a problem? Please describe.

Add NTP client to enable "sync" method.

Describe the solution you'd like

Python, UDP

Describe alternatives you've considered

None

Additional context

None

ID Error at ELtest

Describe the bug
ID Error at ELtest

At method.cpp:

else if (cmd.size() >= 3){
        int id = stoi(cmd[1]);
        mes = "Testing id: " + cmd[2];

should be:

else if (cmd.size() >= 3){
        int id = stoi(cmd[1]);
        mes = "Testing id: " + id;

To Reproduce

Expected behavior

Screenshots

Additional context

Add framework of CLI

Is your feature request related to a problem? Please describe.

Connecting to editor every time and handling command with if/else is troublesome. Using a CLI via SSH can directly control RPi.

Describe the solution you'd like

cmd2 is a command line package for python.

Describe alternatives you've considered

click: native CLI

Additional context

Format python socket message

Is your feature request related to a problem? Please describe.

Format python socket message to fit interface defined by typescript.

Describe the solution you'd like

python json

Describe alternatives you've considered

None

Additional context

None

Enable play multi-time

Is your feature request related to a problem? Please describe.

Current controller cannot play again after a play.

Describe the solution you'd like

Change _startTime.

Describe alternatives you've considered

None

Additional context

None

Merge hardware

Is your feature request related to a problem? Please describe.

Merge new hardware library.

Describe the solution you'd like

None

Describe alternatives you've considered

None

Additional context

None

Add argument for client.py in startClient.sh

Is your feature request related to a problem? Please describe.

Add argument for client.py in startClient.sh

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Implement commands with strategy pattern in CLI

Is your feature request related to a problem? Please describe.
Implement commands with strategy pattern in CLI

Describe the solution you'd like
using strategy pattern

Describe alternatives you've considered

Additional context

Enable socket to play

Is your feature request related to a problem? Please describe.

Enable socket to play

Describe the solution you'd like

Python

Describe alternatives you've considered

None

Additional context

None

Add a zmq socket object for python

Is your feature request related to a problem? Please describe.
A simple class to send message via zmq

Describe the solution you'd like

Describe alternatives you've considered
No

Additional context
No

Controller response to CLI and socket

Is your feature request related to a problem? Please describe.

Response through ZeroMQ to CLI and socket.

Describe the solution you'd like

Use logger class and singleton.

Describe alternatives you've considered

None

Additional context

None

README.md update

Is your feature request related to a problem? Please describe.
Add new feature descriptions

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Rpisocket in python

Is your feature request related to a problem? Please describe.

former Rpisocket is in .js

Describe the solution you'd like

change it to .py by websocket、websocket_server、ZMQ libraries

Describe alternatives you've considered

Additional context

Multi Line Response at CLI

Is your feature request related to a problem? Please describe.
Multi Line Response at CLI

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Add testing methods

Is your feature request related to a problem? Please describe.

Adding testing methods for OF and LED

Describe the solution you'd like

Mutation of play

Describe alternatives you've considered

None

Additional context

None

Add websocket in requirements.txt

Is your feature request related to a problem? Please describe.
Add websocket in requirements.txt

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Turn controller method to multithread methods

Is your feature request related to a problem? Please describe.

The play method is infinite while loop, which needs an interrupt to stop it, but zmq can only send messages, so we need to turn methods into one-thread-one-method structure.

Describe the solution you'd like

Use c++ std::thread to make every method a single thread.

Describe alternatives you've considered

Signal kill, means that zmq can send interrupts.

Additional context

None

Fix controller operation errors

Is your feature request related to a problem? Please describe.

Play, eltest, list in controller generates zmq error.

Describe the solution you'd like

Check controller code.

Describe alternatives you've considered

None

Additional context

None

Add methods for the use of CLI and socket

Is your feature request related to a problem? Please describe.

Add strategy pattern structure for CLI and socket usage.
Inside the mentioned code, you should use a map to contain all the functions.

Describe the solution you'd like

Strategy pattern with base method class and inheritance functions.

Describe alternatives you've considered

None.

Additional context

None.

LED error fix

Is your feature request related to a problem? Please describe.

Fix all kinds of LED error.

Describe the solution you'd like

None

Describe alternatives you've considered

None

Additional context

None

CLI Handle Responses from Controller

Is your feature request related to a problem? Please describe.
CLI Handle Responses from Controller

Describe the solution you'd like

Describe alternatives you've considered

Additional context

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.