GithubHelp home page GithubHelp logo

knifa / led-matrix-zmq-server Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 1.0 38 KB

A tool for streaming frames to rpi-rgb-led-matrix over ZeroMQ.

License: GNU General Public License v3.0

Makefile 12.52% Dockerfile 12.89% Shell 3.01% C++ 71.58%
docker-image led-matrix raspberry-pi rgb-led-matrix zeromq zmq

led-matrix-zmq-server's People

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

Watchers

 avatar  avatar

Forkers

linecomparison

led-matrix-zmq-server's Issues

Example request for sending frames

Hi @Knifa

Thank you for your work on this. I'm new to everything here, but I think I am close to understanding zeroMq w/ rpi-rgb-led-matrix.

I'm not sure how the server is sending the frames. Could you please show example of server API and how you send the byte frame from another rpi?

Cheers!

Cannot send pictures more than 32767 size

Hello,

I've setup a PI4 along with 2x 128x64 panel. Everything works fine with the included tools, but I can't send images of more than 32767 in size. The server doesn't even react.

Here is an example of a 32767 frame:

pi@raspberrypi:~/led-matrix-zmq-server/bin $ sudo ./led-matrix-zmq-server --led-cols=128 --led-rows=64 --led-chain=2 --led-slowdown-gpio=3
Listening on tcp://*:42024 @ 24BPP
Frame dimensions: 256x64
Expected frame size: 49152 bytes
Frame size mismatch! Expected 49152 but got 32767

And a 32768 frame:

pi@raspberrypi:~/led-matrix-zmq-server/bin $ sudo ./led-matrix-zmq-server --led-cols=128 --led-rows=64 --led-chain=2 --led-slowdown-gpio=3
Listening on tcp://*:42024 @ 24BPP
Frame dimensions: 256x64
Expected frame size: 49152 bytes

As you can see no error message.
I can do some tcpdump/wireshark if needed.

I also tried to change the type to unsigned int here:

unsigned int frame_size = zmq_sock.recv(&frame, expected_frame_size);

But it didn't help.

Any idea?

Thanks!

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.